Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 81.8 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 168.6 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 177.2 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 325.1 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.557e-05, allocations: 10.77 kB / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.00661/0.006636, allocations: 4.56 MB / 329.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004152/0.01079, allocations: 2.023 MB / 331.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006038/0.01139, allocations: 15.5 kB / 331.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00364/0.01503, allocations: 1.383 MB / 333.1 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001449/0.01648, allocations: 424.4 kB / 333.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002761/0.01924, allocations: 1.135 MB / 334.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001555/0.0208, allocations: 0.7667 MB / 335.4 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.02196, allocations: 0.567 MB / 336 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009412/0.0229, allocations: 478.7 kB / 336.4 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00063/0.02353, allocations: 330 kB / 336.7 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001548/0.02368, allocations: 66.59 kB / 336.8 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.02474, allocations: 406 kB / 337.2 MB, free: 8.547 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002027/0.02494, allocations: 165.9 kB / 337.4 MB, free: 8.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004438/0.02538, allocations: 252.3 kB / 337.6 MB, free: 8.273 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002047/0.02743, allocations: 1.247 MB / 338.9 MB, free: 7.355 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.02744, allocations: 0 / 338.9 MB, free: 7.355 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.02744, allocations: 4 kB / 338.9 MB, free: 7.352 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.824e-05/0.02746, allocations: 3.938 kB / 338.9 MB, free: 7.348 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.005096/0.03256, allocations: 1.398 MB / 340.3 MB, free: 5.918 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.0326, allocations: 12.03 kB / 340.3 MB, free: 5.906 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002824/0.03542, allocations: 372.1 kB / 340.6 MB, free: 5.543 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.0357, allocations: 189.6 kB / 340.8 MB, free: 5.328 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.493e-05/0.03578, allocations: 66.38 kB / 340.9 MB, free: 5.262 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/0.03596, allocations: 84.38 kB / 341 MB, free: 5.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/0.03813, allocations: 0.8936 MB / 341.9 MB, free: 4.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.089e-05/0.03817, allocations: 12.12 kB / 341.9 MB, free: 4.258 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.939e-05/0.03826, allocations: 28.38 kB / 341.9 MB, free: 4.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/0.03828, allocations: 23.94 kB / 341.9 MB, free: 4.207 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/0.04036, allocations: 0.7964 MB / 342.7 MB, free: 3.406 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004804/0.04517, allocations: 2.304 MB / 345 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.04635, allocations: 0.5056 MB / 345.5 MB, free: 492 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005596/0.04691, allocations: 218.2 kB / 345.7 MB, free: 272 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.04701, allocations: 28.42 kB / 345.8 MB, free: 244 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.04705, allocations: 39.06 kB / 345.8 MB, free: 192 kB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.385e-06/0.04705, allocations: 0 / 345.8 MB, free: 192 kB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.008219/0.05527, allocations: 2.16 MB / 348 MB, free: 13.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.05534, allocations: 89.55 kB / 348.1 MB, free: 13.88 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000416/0.05576, allocations: 307.9 kB / 348.4 MB, free: 13.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.923e-05/0.05584, allocations: 33.7 kB / 348.4 MB, free: 13.53 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.05614, allocations: 379.8 kB / 348.8 MB, free: 13.15 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.05635, allocations: 214.1 kB / 349 MB, free: 12.94 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002712/0.05662, allocations: 142.6 kB / 349.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.05681, allocations: 346.8 kB / 349.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00082/0.05763, allocations: 273.8 kB / 349.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.05871, allocations: 0.5333 MB / 350.3 MB, free: 11.54 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001962/0.06067, allocations: 0.8049 MB / 351.1 MB, free: 10.63 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/0.06068, allocations: 4 kB / 351.1 MB, free: 10.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002403/0.06308, allocations: 0.8971 MB / 352 MB, free: 9.719 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.0631, allocations: 11.94 kB / 352 MB, free: 9.707 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.06312, allocations: 8 kB / 352 MB, free: 9.699 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002858/0.0634, allocations: 69.77 kB / 352 MB, free: 9.625 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000917/0.06432, allocations: 191.7 kB / 352.2 MB, free: 9.438 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002577/0.0669, allocations: 2.604 MB / 354.8 MB, free: 6.629 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007223/0.06762, allocations: 63.94 kB / 354.9 MB, free: 6.566 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.957e-05/0.0677, allocations: 39.92 kB / 354.9 MB, free: 6.527 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003728/0.06807, allocations: 217.5 kB / 355.2 MB, free: 6.305 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.06819, allocations: 43.78 kB / 355.2 MB, free: 6.262 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002157/0.07035, allocations: 0.7296 MB / 355.9 MB, free: 5.516 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.07036, allocations: 8 kB / 355.9 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.07036, allocations: 0 / 355.9 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.07037, allocations: 3.984 kB / 355.9 MB, free: 5.504 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002937/0.07331, allocations: 1.205 MB / 357.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.07331, allocations: 0 / 357.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006938/0.074, allocations: 131.8 kB / 357.3 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002054/0.07421, allocations: 61.61 kB / 357.3 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-05/0.07427, allocations: 23.92 kB / 357.4 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002421/0.07669, allocations: 2.588 MB / 359.9 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.07669, allocations: 3.938 kB / 359.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002871/0.07956, allocations: 1.07 MB / 361 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002449/0.07981, allocations: 87.67 kB / 361.1 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.28e-05/0.07989, allocations: 15.94 kB / 361.1 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00054/0.08043, allocations: 39.95 kB / 361.2 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/0.08059, allocations: 52.47 kB / 361.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-05/0.08064, allocations: 23.98 kB / 361.2 MB, free: 15.94 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002428/0.08088, allocations: 199.1 kB / 361.4 MB, free: 15.74 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.08088, allocations: 0 / 361.4 MB, free: 15.74 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008062/0.08169, allocations: 175.9 kB / 361.6 MB, free: 15.57 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003492/0.08204, allocations: 163.1 kB / 361.8 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002251/0.08429, allocations: 0.869 MB / 362.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.08429, allocations: 8.125 kB / 362.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.08543, allocations: 0.5233 MB / 363.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.08587, allocations: 56.83 kB / 363.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002836/0.08871, allocations: 1.13 MB / 364.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.08903, allocations: 282.6 kB / 364.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003809/0.08941, allocations: 84.31 kB / 364.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.0896, allocations: 52.48 kB / 364.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of SimCode: time 9.22e-07/0.0896, allocations: 0 / 364.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of Templates: time 0.01482/0.1044, allocations: 6.36 MB / 371.1 MB, free: 6.055 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.4821163564920425]