Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 88.62 kB / 20.96 MB, free: 3.48 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002403/0.002403, allocations: 149.4 kB / 24.25 MB, free: 192 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.421e-05, allocations: 2.312 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004517/0.004541, allocations: 2.643 MB / 270 MB, free: 4.055 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.005928, allocations: 0.7049 MB / 270.7 MB, free: 3.344 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.006054, allocations: 4 kB / 270.7 MB, free: 3.34 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000223/0.006277, allocations: 67.31 kB / 270.7 MB, free: 3.273 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002851/0.006562, allocations: 103.2 kB / 270.8 MB, free: 3.172 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.006843, allocations: 103.8 kB / 270.9 MB, free: 3.07 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000493/0.007336, allocations: 402.3 kB / 271.3 MB, free: 2.676 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.007533, allocations: 87.33 kB / 271.4 MB, free: 2.59 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003684/0.007901, allocations: 231.4 kB / 271.6 MB, free: 2.363 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.00812, allocations: 131.6 kB / 271.8 MB, free: 2.234 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.371e-05/0.008184, allocations: 32 kB / 271.8 MB, free: 2.203 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.825e-05/0.008252, allocations: 36 kB / 271.8 MB, free: 2.168 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.236e-05/0.008335, allocations: 75.67 kB / 271.9 MB, free: 2.094 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.008489, allocations: 115.7 kB / 272 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004998/0.008989, allocations: 398.7 kB / 272.4 MB, free: 1.59 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.008991, allocations: 0 / 272.4 MB, free: 1.59 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.008991, allocations: 0 / 272.4 MB, free: 1.59 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.008997, allocations: 0 / 272.4 MB, free: 1.59 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001291/0.01029, allocations: 0.5791 MB / 273 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.01032, allocations: 8.031 kB / 273 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.01045, allocations: 64.7 kB / 273.1 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003724/0.01082, allocations: 209.8 kB / 273.3 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.283e-05/0.01086, allocations: 25.03 kB / 273.3 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.948e-05/0.01092, allocations: 32.38 kB / 273.3 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006831/0.01161, allocations: 290.6 kB / 273.6 MB, free: 340 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.01162, allocations: 192 / 273.6 MB, free: 340 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/0.01165, allocations: 16.38 kB / 273.6 MB, free: 324 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.01167, allocations: 11.94 kB / 273.6 MB, free: 312 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00069/0.01236, allocations: 246.5 kB / 273.9 MB, free: 68 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.01421, allocations: 0.883 MB / 274.8 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004322/0.01464, allocations: 149.8 kB / 274.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.01485, allocations: 64.83 kB / 275 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.01487, allocations: 4 kB / 275 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.01491, allocations: 34.56 kB / 275 MB, free: 14.85 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.122e-06/0.01491, allocations: 0 / 275 MB, free: 14.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.002324/0.01724, allocations: 0.6129 MB / 275.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.01728, allocations: 51.41 kB / 275.7 MB, free: 14.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003417/0.01762, allocations: 265.7 kB / 275.9 MB, free: 13.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.01766, allocations: 33.64 kB / 276 MB, free: 13.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.01785, allocations: 228.1 kB / 276.2 MB, free: 13.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.014e-05/0.01793, allocations: 79.33 kB / 276.3 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.01805, allocations: 65.66 kB / 276.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.01826, allocations: 338.8 kB / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/0.0186, allocations: 107.6 kB / 276.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004204/0.01902, allocations: 192 kB / 277 MB, free: 12.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007214/0.01974, allocations: 301.1 kB / 277.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.01974, allocations: 4 kB / 277.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001007/0.02075, allocations: 409.4 kB / 277.7 MB, free: 12.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.02077, allocations: 8 kB / 277.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.02077, allocations: 4 kB / 277.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005479/0.02132, allocations: 73.66 kB / 277.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/0.02167, allocations: 75.89 kB / 277.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002609/0.02428, allocations: 2.592 MB / 280.4 MB, free: 9.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002847/0.02457, allocations: 23.98 kB / 280.4 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/0.0246, allocations: 20.11 kB / 280.4 MB, free: 9.047 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * 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.0001841/0.02478, allocations: 149.7 kB / 280.6 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.706e-05/0.02485, allocations: 31.86 kB / 280.6 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.022e-05/0.02494, allocations: 38.2 kB / 280.7 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.02494, allocations: 0 / 280.7 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.02495, allocations: 4 kB / 280.7 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.02495, allocations: 0 / 280.7 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.02531, allocations: 221.2 kB / 280.9 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.02531, allocations: 8.125 kB / 280.9 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.02554, allocations: 35.97 kB / 280.9 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004475/0.02599, allocations: 77.64 kB / 281 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.02601, allocations: 7.938 kB / 281 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002491/0.0285, allocations: 2.584 MB / 283.6 MB, free: 5.648 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.0285, allocations: 3.938 kB / 283.6 MB, free: 5.645 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008954/0.02939, allocations: 380.9 kB / 284 MB, free: 5.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/0.02945, allocations: 23.97 kB / 284 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.02949, allocations: 4 kB / 284 MB, free: 5.223 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.02971, allocations: 11.98 kB / 284 MB, free: 5.211 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.737e-05/0.02978, allocations: 27.89 kB / 284 MB, free: 5.184 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.0298, allocations: 11.94 kB / 284 MB, free: 5.172 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002185/0.03002, allocations: 181.2 kB / 284.2 MB, free: 4.996 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03002, allocations: 0 / 284.2 MB, free: 4.996 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000419/0.03044, allocations: 72 kB / 284.3 MB, free: 4.926 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (18): * Single equations (assignments): 16 * 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.0001396/0.03058, allocations: 103.2 kB / 284.4 MB, free: 4.816 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.03163, allocations: 480.8 kB / 284.9 MB, free: 4.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.03164, allocations: 0 / 284.9 MB, free: 4.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005897/0.03222, allocations: 337.1 kB / 285.2 MB, free: 3.969 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.03257, allocations: 36.42 kB / 285.2 MB, free: 3.934 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.03378, allocations: 0.5277 MB / 285.8 MB, free: 3.379 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.03397, allocations: 164.8 kB / 285.9 MB, free: 3.203 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001321/0.0341, allocations: 30.31 kB / 285.9 MB, free: 3.168 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.646e-05/0.03418, allocations: 24.5 kB / 286 MB, free: 3.145 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.03418, allocations: 0 / 286 MB, free: 3.145 MB / 266.7 MB Notification: Performance of Templates: time 0.007815/0.042, allocations: 2.777 MB / 288.7 MB, free: 404 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.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.292138573015109]