Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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.001638/0.001638, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 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.001569/0.001569, allocations: 186.4 kB / 24.51 MB, free: 4.035 MB / 14.72 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.492/1.492, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2253/0.2253, allocations: 44.91 MB / 353.5 MB, free: 11.82 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo)
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(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape")
translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 71.88 kB / 497.7 MB, free: 1 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.469/0.471, allocations: 64.28 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.00467/0.4757, allocations: 2.481 MB / 0.5512 GB, free: 11.2 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001702/0.4774, allocations: 0.78 MB / 0.552 GB, free: 10.57 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.4776, allocations: 2.906 kB / 0.552 GB, free: 10.57 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.4778, allocations: 54.44 kB / 0.552 GB, free: 10.52 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000333/0.4782, allocations: 110.3 kB / 0.5522 GB, free: 10.44 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.4785, allocations: 92.72 kB / 0.5522 GB, free: 10.36 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005135/0.479, allocations: 342.5 kB / 0.5526 GB, free: 10.16 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.4792, allocations: 76.3 kB / 0.5526 GB, free: 10.11 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002664/0.4795, allocations: 133.1 kB / 0.5528 GB, free: 10.03 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/0.4797, allocations: 156.7 kB / 0.5529 GB, free: 9.918 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.177e-05/0.4798, allocations: 33.38 kB / 0.5529 GB, free: 9.914 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 5.67e-05/0.4798, allocations: 29.5 kB / 0.553 GB, free: 9.914 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.444e-05/0.4799, allocations: 67.28 kB / 0.553 GB, free: 9.855 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.4801, allocations: 152.1 kB / 0.5532 GB, free: 9.746 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004815/0.4806, allocations: 358.2 kB / 0.5535 GB, free: 9.477 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4806, allocations: 0 / 0.5535 GB, free: 9.477 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.743e-06/0.4806, allocations: 0 / 0.5535 GB, free: 9.477 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 8.115e-06/0.4806, allocations: 0 / 0.5535 GB, free: 9.477 MB / 398.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 61
 * Number of variables: 61
Notification: Performance of Generate backend data structure: time 0.001208/0.4818, allocations: 0.5417 MB / 0.5541 GB, free: 9.027 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 8.766e-05/0.4819, allocations: 9.766 kB / 0.5541 GB, free: 9.027 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.482, allocations: 36.45 kB / 0.5541 GB, free: 9.008 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004659/0.4824, allocations: 215 kB / 0.5543 GB, free: 8.797 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/0.4825, allocations: 19.03 kB / 0.5543 GB, free: 8.785 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-05/0.4825, allocations: 28.02 kB / 0.5544 GB, free: 8.773 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006069/0.4831, allocations: 253.5 kB / 0.5546 GB, free: 8.613 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.4831, allocations: 1.312 kB / 0.5546 GB, free: 8.613 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/0.4832, allocations: 10.09 kB / 0.5546 GB, free: 8.605 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.4832, allocations: 5.625 kB / 0.5546 GB, free: 8.605 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005854/0.4838, allocations: 235.7 kB / 0.5548 GB, free: 8.496 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.4854, allocations: 0.8273 MB / 0.5556 GB, free: 7.82 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006145/0.486, allocations: 288.2 kB / 0.5559 GB, free: 7.668 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/0.4863, allocations: 125 kB / 0.556 GB, free: 7.605 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.825e-05/0.4864, allocations: 7.859 kB / 0.556 GB, free: 7.602 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.4864, allocations: 31.97 kB / 0.5561 GB, free: 7.562 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=31): time 1.814e-06/0.4864, allocations: 1.375 kB / 0.5561 GB, free: 7.562 MB / 398.1 MB
Notification: Performance of matching and sorting (n=31): time 0.004559/0.491, allocations: 0.9604 MB / 0.557 GB, free: 6.855 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.4911, allocations: 63.33 kB / 0.5571 GB, free: 6.781 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.4913, allocations: 213 kB / 0.5573 GB, free: 6.559 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.4913, allocations: 33.7 kB / 0.5573 GB, free: 6.52 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.4915, allocations: 156.8 kB / 0.5575 GB, free: 6.363 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 9.973e-05/0.4916, allocations: 111 kB / 0.5576 GB, free: 6.254 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.4917, allocations: 53.7 kB / 0.5576 GB, free: 6.195 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001878/0.4919, allocations: 334.8 kB / 0.5579 GB, free: 5.859 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.4921, allocations: 95.89 kB / 0.558 GB, free: 5.766 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.4924, allocations: 129.7 kB / 0.5581 GB, free: 5.629 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004744/0.4929, allocations: 235.2 kB / 0.5584 GB, free: 5.395 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4929, allocations: 0 / 0.5584 GB, free: 5.395 MB / 398.1 MB
Notification: Performance of matching and sorting (n=35) (initialization): time 0.001945/0.4948, allocations: 0.5411 MB / 0.5589 GB, free: 4.836 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.4948, allocations: 4 kB / 0.5589 GB, free: 4.832 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.4949, allocations: 4 kB / 0.5589 GB, free: 4.828 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001743/0.4966, allocations: 311.1 kB / 0.5592 GB, free: 4.512 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.4968, allocations: 23.98 kB / 0.5592 GB, free: 4.488 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008387/0.5052, allocations: 6.438 MB / 0.5655 GB, free: 13.59 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.5055, allocations: 27.84 kB / 0.5655 GB, free: 13.57 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/0.5055, allocations: 8 kB / 0.5656 GB, free: 13.56 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * 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 (15):
 * Single equations (assignments): 11
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 4
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 4 systems
   {(1,5), (1,5), (1,5), (1,5)}
Notification: Performance of prepare postOptimizeDAE: time 0.0002147/0.5057, allocations: 149.7 kB / 0.5657 GB, free: 13.4 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.804e-05/0.5058, allocations: 27.88 kB / 0.5657 GB, free: 13.38 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001908/0.5077, allocations: 0.5346 MB / 0.5662 GB, free: 12.82 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/0.5077, allocations: 11.94 kB / 0.5663 GB, free: 12.81 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.5077, allocations: 3.938 kB / 0.5663 GB, free: 12.81 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.5077, allocations: 0 / 0.5663 GB, free: 12.81 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004945/0.5082, allocations: 324.4 kB / 0.5666 GB, free: 12.45 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.5082, allocations: 0 / 0.5666 GB, free: 12.45 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.5083, allocations: 19.98 kB / 0.5666 GB, free: 12.43 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001727/0.5101, allocations: 307.2 kB / 0.5669 GB, free: 12.12 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.381e-05/0.5101, allocations: 8 kB / 0.5669 GB, free: 12.11 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009212/0.5193, allocations: 6.483 MB / 0.5732 GB, free: 5.168 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5193, allocations: 0 / 0.5732 GB, free: 5.168 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.5214, allocations: 0.6245 MB / 0.5738 GB, free: 4.516 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/0.5215, allocations: 31.72 kB / 0.5739 GB, free: 4.484 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.5215, allocations: 8 kB / 0.5739 GB, free: 4.477 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.5217, allocations: 8 kB / 0.5739 GB, free: 4.469 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.5219, allocations: 39.84 kB / 0.5739 GB, free: 4.43 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.5219, allocations: 12 kB / 0.5739 GB, free: 4.418 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001981/0.5221, allocations: 152.5 kB / 0.5741 GB, free: 4.27 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.5221, allocations: 0 / 0.5741 GB, free: 4.27 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.000613/0.5227, allocations: 119.9 kB / 0.5742 GB, free: 4.152 MB / 414.1 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 (11):
 * Single equations (assignments): 7
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 4
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 4 systems
   {(2,4), (2,4), (2,4), (1,5)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.00018/0.5229, allocations: 107.2 kB / 0.5743 GB, free: 4.039 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.001326/0.5242, allocations: 0.7367 MB / 0.575 GB, free: 3.25 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5242, allocations: 0 / 0.575 GB, free: 3.25 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.00154/0.5258, allocations: 0.7211 MB / 0.5757 GB, free: 2.477 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.5262, allocations: 24.42 kB / 0.5757 GB, free: 2.453 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.5276, allocations: 0.5485 MB / 0.5763 GB, free: 1.867 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004948/0.5281, allocations: 0.7678 MB / 0.577 GB, free: 1.074 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 6.669e-05/0.5282, allocations: 9.969 kB / 0.577 GB, free: 1.066 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.5282, allocations: 15.44 kB / 0.577 GB, free: 1.051 MB / 414.1 MB
Notification: Performance of SimCode: time 9.82e-07/0.5282, allocations: 0 / 0.577 GB, free: 1.051 MB / 414.1 MB
Notification: Performance of Templates: time 0.01881/0.547, allocations: 8.452 MB / 0.5853 GB, free: 8.625 MB / 430.1 MB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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: 6.053906016051769]