Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001927/0.001927, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002611/0.002611, allocations: 213.3 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 230.3 MB / 258 MB, free: 8.27 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2549/0.2549, allocations: 46.89 MB / 361.3 MB, free: 4.453 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo)
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002406/0.002406, allocations: 83.86 kB / 0.4971 GB, free: 7.605 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4973/0.4997, allocations: 66.02 MB / 0.5615 GB, free: 4.648 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004517/0.5042, allocations: 2.524 MB / 0.564 GB, free: 2.113 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001884/0.5061, allocations: 0.8412 MB / 0.5648 GB, free: 1.266 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002571/0.5064, allocations: 7.938 kB / 0.5648 GB, free: 1.258 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002644/0.5066, allocations: 55.5 kB / 0.5649 GB, free: 1.203 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003492/0.507, allocations: 114.9 kB / 0.565 GB, free: 1.094 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.5073, allocations: 103.8 kB / 0.5651 GB, free: 0.9922 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004394/0.5078, allocations: 358.7 kB / 0.5654 GB, free: 0.6406 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.508, allocations: 64.91 kB / 0.5655 GB, free: 0.5742 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003003/0.5083, allocations: 143.5 kB / 0.5656 GB, free: 444 kB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.5085, allocations: 163.2 kB / 0.5658 GB, free: 280 kB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.571e-05/0.5085, allocations: 32 kB / 0.5658 GB, free: 248 kB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 9.076e-05/0.5086, allocations: 32 kB / 0.5658 GB, free: 216 kB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.549e-05/0.5087, allocations: 75.67 kB / 0.5659 GB, free: 140 kB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002102/0.5089, allocations: 151.3 kB / 0.5661 GB, free: 15.98 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004713/0.5094, allocations: 373.2 kB / 0.5664 GB, free: 15.62 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5094, allocations: 4 kB / 0.5664 GB, free: 15.62 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.012e-06/0.5094, allocations: 0 / 0.5664 GB, free: 15.62 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 6.873e-06/0.5094, allocations: 0 / 0.5664 GB, free: 15.62 MB / 414.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.001168/0.5106, allocations: 0.5635 MB / 0.567 GB, free: 15.03 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.5106, allocations: 8.031 kB / 0.567 GB, free: 15.02 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.5108, allocations: 40.7 kB / 0.567 GB, free: 14.98 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.5112, allocations: 213 kB / 0.5672 GB, free: 14.75 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.5112, allocations: 20.88 kB / 0.5672 GB, free: 14.73 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/0.5112, allocations: 28.31 kB / 0.5673 GB, free: 14.7 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000552/0.5118, allocations: 248.4 kB / 0.5675 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.5118, allocations: 3.984 kB / 0.5675 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.5118, allocations: 12 kB / 0.5675 GB, free: 14.43 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.5118, allocations: 7.938 kB / 0.5675 GB, free: 14.43 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005338/0.5124, allocations: 229.9 kB / 0.5677 GB, free: 14.2 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.5139, allocations: 0.8391 MB / 0.5686 GB, free: 13.31 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006003/0.5145, allocations: 290.6 kB / 0.5688 GB, free: 13.02 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/0.5148, allocations: 124.8 kB / 0.569 GB, free: 12.89 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.852e-05/0.5149, allocations: 4 kB / 0.569 GB, free: 12.89 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.5149, allocations: 38.55 kB / 0.569 GB, free: 12.84 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=31): time 1.653e-06/0.5149, allocations: 0 / 0.569 GB, free: 12.84 MB / 414.1 MB
Notification: Performance of matching and sorting (n=31): time 0.004699/0.5196, allocations: 0.965 MB / 0.5699 GB, free: 11.86 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.5197, allocations: 55.41 kB / 0.57 GB, free: 11.79 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.52, allocations: 233.1 kB / 0.5702 GB, free: 11.55 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.52, allocations: 33.7 kB / 0.5703 GB, free: 11.51 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.5201, allocations: 165.3 kB / 0.5704 GB, free: 11.34 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.5202, allocations: 115.1 kB / 0.5705 GB, free: 11.23 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.5204, allocations: 49.7 kB / 0.5706 GB, free: 11.18 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001823/0.5205, allocations: 334.8 kB / 0.5709 GB, free: 10.84 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.5208, allocations: 91.95 kB / 0.571 GB, free: 10.75 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002745/0.5211, allocations: 122.8 kB / 0.5711 GB, free: 10.62 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000493/0.5216, allocations: 235.3 kB / 0.5713 GB, free: 10.39 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5216, allocations: 0 / 0.5713 GB, free: 10.39 MB / 414.1 MB
Notification: Performance of matching and sorting (n=35) (initialization): time 0.001834/0.5234, allocations: 0.5412 MB / 0.5718 GB, free: 9.828 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.5234, allocations: 4 kB / 0.5718 GB, free: 9.824 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.5234, allocations: 0 / 0.5718 GB, free: 9.824 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001716/0.5251, allocations: 311.1 kB / 0.5721 GB, free: 9.508 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.5253, allocations: 27.92 kB / 0.5722 GB, free: 9.48 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008177/0.5335, allocations: 6.457 MB / 0.5785 GB, free: 2.562 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002525/0.5337, allocations: 27.83 kB / 0.5785 GB, free: 2.535 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.5338, allocations: 8 kB / 0.5785 GB, free: 2.527 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.0002405/0.534, allocations: 141.8 kB / 0.5786 GB, free: 2.379 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.036e-05/0.5341, allocations: 27.81 kB / 0.5787 GB, free: 2.352 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/0.536, allocations: 0.5502 MB / 0.5792 GB, free: 1.785 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.536, allocations: 0 / 0.5792 GB, free: 1.785 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.536, allocations: 7.938 kB / 0.5792 GB, free: 1.777 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.536, allocations: 0 / 0.5792 GB, free: 1.777 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004394/0.5365, allocations: 328.4 kB / 0.5795 GB, free: 1.414 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.5365, allocations: 0 / 0.5795 GB, free: 1.414 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.5366, allocations: 19.97 kB / 0.5795 GB, free: 1.395 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001503/0.5381, allocations: 315.1 kB / 0.5798 GB, free: 1.074 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.5381, allocations: 4 kB / 0.5799 GB, free: 1.07 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009936/0.5481, allocations: 6.503 MB / 0.5862 GB, free: 10.1 MB / 430.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.5481, allocations: 0 / 0.5862 GB, free: 10.1 MB / 430.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.5501, allocations: 0.6167 MB / 0.5868 GB, free: 9.457 MB / 430.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.946e-05/0.5501, allocations: 35.69 kB / 0.5868 GB, free: 9.422 MB / 430.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.5502, allocations: 12 kB / 0.5869 GB, free: 9.41 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.5503, allocations: 11.98 kB / 0.5869 GB, free: 9.398 MB / 430.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.5505, allocations: 35.88 kB / 0.5869 GB, free: 9.363 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.5505, allocations: 4 kB / 0.5869 GB, free: 9.359 MB / 430.1 MB
Notification: Performance of sorting global known variables: time 0.0002185/0.5507, allocations: 173.2 kB / 0.5871 GB, free: 9.191 MB / 430.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.5507, allocations: 0 / 0.5871 GB, free: 9.191 MB / 430.1 MB
Notification: Performance of remove unused functions: time 0.0005842/0.5513, allocations: 119.9 kB / 0.5872 GB, free: 9.074 MB / 430.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.0002518/0.5515, allocations: 103.2 kB / 0.5873 GB, free: 8.965 MB / 430.1 MB
Notification: Performance of simCode: created initialization part: time 0.001619/0.5532, allocations: 0.7444 MB / 0.588 GB, free: 8.168 MB / 430.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.5532, allocations: 0 / 0.588 GB, free: 8.168 MB / 430.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001486/0.5547, allocations: 0.7133 MB / 0.5887 GB, free: 7.402 MB / 430.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.555, allocations: 37.19 kB / 0.5887 GB, free: 7.371 MB / 430.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.5562, allocations: 0.5639 MB / 0.5893 GB, free: 6.777 MB / 430.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005376/0.5568, allocations: 0.7795 MB / 0.59 GB, free: 5.973 MB / 430.1 MB
Notification: Performance of simCode: alias equations: time 5.852e-05/0.5568, allocations: 9.969 kB / 0.5901 GB, free: 5.965 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/0.5569, allocations: 11.44 kB / 0.5901 GB, free: 5.953 MB / 430.1 MB
Notification: Performance of SimCode: time 4.51e-07/0.5569, allocations: 0 / 0.5901 GB, free: 5.953 MB / 430.1 MB
Notification: Performance of Templates: time 0.01638/0.5732, allocations: 8.515 MB / 0.5984 GB, free: 13.46 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_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_trunk_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.049604129046202]