Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.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.002236/0.002236, allocations: 109.8 kB / 19.69 MB, free: 2.199 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.001984/0.001984, allocations: 185 kB / 22.98 MB, free: 5.062 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 207.6 MB / 233.7 MB, free: 10 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2628/0.2628, allocations: 44.24 MB / 330.2 MB, free: 9.555 MB / 270.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo)
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force")
translateModel(ModelicaTest.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 71.89 kB / 467.9 MB, free: 4.051 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.157, allocations: 61.04 MB / 0.5166 GB, free: 6.875 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.005076/0.162, allocations: 3.015 MB / 0.5195 GB, free: 3.844 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001851/0.1639, allocations: 0.7721 MB / 0.5203 GB, free: 3.062 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.1641, allocations: 7.938 kB / 0.5203 GB, free: 3.055 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002375/0.1643, allocations: 67.31 kB / 0.5203 GB, free: 2.988 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002664/0.1646, allocations: 95.11 kB / 0.5204 GB, free: 2.895 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004888/0.1651, allocations: 115.8 kB / 0.5205 GB, free: 2.781 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0006786/0.1658, allocations: 486.4 kB / 0.521 GB, free: 2.305 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002773/0.166, allocations: 108.5 kB / 0.5211 GB, free: 2.191 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002949/0.1663, allocations: 187.4 kB / 0.5213 GB, free: 2.008 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.1666, allocations: 211 kB / 0.5215 GB, free: 1.801 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 7.371e-05/0.1667, allocations: 40 kB / 0.5215 GB, free: 1.762 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 6.823e-05/0.1668, allocations: 40 kB / 0.5216 GB, free: 1.723 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.166e-05/0.1668, allocations: 83.75 kB / 0.5216 GB, free: 1.641 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002164/0.1671, allocations: 206.9 kB / 0.5218 GB, free: 1.438 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005925/0.1677, allocations: 474 kB / 0.5223 GB, free: 0.9727 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.1677, allocations: 0 / 0.5223 GB, free: 0.9727 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.432e-06/0.1677, allocations: 0 / 0.5223 GB, free: 0.9727 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 9.868e-06/0.1677, allocations: 0 / 0.5223 GB, free: 0.9727 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: 96
 * Number of variables: 96
Notification: Performance of Generate backend data structure: time 0.001516/0.1692, allocations: 0.6418 MB / 0.5229 GB, free: 308 kB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.1692, allocations: 8.031 kB / 0.5229 GB, free: 300 kB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.889e-05/0.1693, allocations: 44.66 kB / 0.523 GB, free: 256 kB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005372/0.1699, allocations: 233.7 kB / 0.5232 GB, free: 15.99 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.1699, allocations: 25.38 kB / 0.5232 GB, free: 15.97 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.046e-05/0.17, allocations: 40.38 kB / 0.5233 GB, free: 15.93 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007107/0.1707, allocations: 346.7 kB / 0.5236 GB, free: 15.59 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.1707, allocations: 4 kB / 0.5236 GB, free: 15.58 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.89e-05/0.1707, allocations: 16 kB / 0.5236 GB, free: 15.57 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.1707, allocations: 8 kB / 0.5236 GB, free: 15.56 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006473/0.1714, allocations: 303.8 kB / 0.5239 GB, free: 15.26 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002348/0.1737, allocations: 1.287 MB / 0.5252 GB, free: 13.88 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005354/0.1743, allocations: 268.8 kB / 0.5254 GB, free: 13.61 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003755/0.1747, allocations: 141.3 kB / 0.5256 GB, free: 13.47 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.124e-05/0.1747, allocations: 4.281 kB / 0.5256 GB, free: 13.47 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.1747, allocations: 30.84 kB / 0.5256 GB, free: 13.43 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=34): time 1.814e-06/0.1747, allocations: 4 kB / 0.5256 GB, free: 13.43 MB / 414.1 MB
Notification: Performance of matching and sorting (n=34): time 0.0009573/0.1757, allocations: 382.6 kB / 0.526 GB, free: 13.05 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.1757, allocations: 55.41 kB / 0.526 GB, free: 12.98 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/0.1761, allocations: 261.9 kB / 0.5263 GB, free: 12.71 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.1761, allocations: 33.7 kB / 0.5263 GB, free: 12.68 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.1763, allocations: 208.3 kB / 0.5265 GB, free: 12.47 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.1764, allocations: 130.9 kB / 0.5266 GB, free: 12.34 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.1765, allocations: 66.12 kB / 0.5267 GB, free: 12.27 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002022/0.1767, allocations: 342.8 kB / 0.527 GB, free: 11.93 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.177, allocations: 100.8 kB / 0.5271 GB, free: 11.83 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/0.1773, allocations: 175.4 kB / 0.5273 GB, free: 11.63 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005799/0.1779, allocations: 288.6 kB / 0.5275 GB, free: 11.33 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.1779, allocations: 8 kB / 0.5276 GB, free: 11.32 MB / 414.1 MB
Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007361/0.1786, allocations: 370.3 kB / 0.5279 GB, free: 10.95 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/0.1786, allocations: 8 kB / 0.5279 GB, free: 10.95 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.1787, allocations: 0 / 0.5279 GB, free: 10.95 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 3.081e-05/0.1787, allocations: 4 kB / 0.5279 GB, free: 10.94 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005249/0.1792, allocations: 108.1 kB / 0.528 GB, free: 10.84 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.1792, allocations: 7.938 kB / 0.528 GB, free: 10.83 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/0.1795, allocations: 39.73 kB / 0.5281 GB, free: 10.79 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-05/0.1796, allocations: 15.98 kB / 0.5281 GB, free: 10.77 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 8
 * 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 (47):
 * Single equations (assignments): 47
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0002247/0.1798, allocations: 157.6 kB / 0.5282 GB, free: 10.61 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-05/0.1799, allocations: 31.81 kB / 0.5283 GB, free: 10.58 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006923/0.1806, allocations: 328.2 kB / 0.5286 GB, free: 10.25 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1806, allocations: 4 kB / 0.5286 GB, free: 10.24 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.1806, allocations: 0 / 0.5286 GB, free: 10.24 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/0.1806, allocations: 3.984 kB / 0.5286 GB, free: 10.24 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005351/0.1811, allocations: 376.3 kB / 0.5289 GB, free: 9.828 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1811, allocations: 0 / 0.5289 GB, free: 9.828 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003926/0.1815, allocations: 83.88 kB / 0.529 GB, free: 9.746 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1815, allocations: 0 / 0.529 GB, free: 9.746 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.1815, allocations: 8 kB / 0.529 GB, free: 9.738 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1815, allocations: 0 / 0.529 GB, free: 9.738 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1815, allocations: 4 kB / 0.529 GB, free: 9.734 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009188/0.1825, allocations: 0.5183 MB / 0.5295 GB, free: 9.199 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.1826, allocations: 51.73 kB / 0.5296 GB, free: 9.148 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.588e-05/0.1826, allocations: 8 kB / 0.5296 GB, free: 9.141 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.1829, allocations: 12 kB / 0.5296 GB, free: 9.129 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.478e-05/0.1829, allocations: 20.02 kB / 0.5296 GB, free: 9.109 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.183, allocations: 12 kB / 0.5296 GB, free: 9.098 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0002446/0.1832, allocations: 189.2 kB / 0.5298 GB, free: 8.914 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.1832, allocations: 0 / 0.5298 GB, free: 8.914 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0003705/0.1836, allocations: 95.83 kB / 0.5299 GB, free: 8.82 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 2 (position.s,position.v)
 * 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 (35):
 * 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: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.000143/0.1837, allocations: 99.52 kB / 0.53 GB, free: 8.715 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0006116/0.1843, allocations: 264.1 kB / 0.5303 GB, free: 8.457 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1843, allocations: 4 kB / 0.5303 GB, free: 8.453 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002658/0.1846, allocations: 127.7 kB / 0.5304 GB, free: 8.328 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.185, allocations: 41.44 kB / 0.5304 GB, free: 8.289 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.1865, allocations: 0.7605 MB / 0.5312 GB, free: 7.5 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.187, allocations: 0.7874 MB / 0.5319 GB, free: 6.684 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.000196/0.1872, allocations: 34.95 kB / 0.532 GB, free: 6.648 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.846e-05/0.1873, allocations: 27.42 kB / 0.532 GB, free: 6.625 MB / 414.1 MB
Notification: Performance of SimCode: time 2.91e-07/0.1873, allocations: 0 / 0.532 GB, free: 6.625 MB / 414.1 MB
Notification: Performance of Templates: time 0.00784/0.1951, allocations: 2.916 MB / 0.5348 GB, free: 3.719 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.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: 5.721329588443041]