Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.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.001381/0.001381, 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.002693/0.002693, allocations: 190.5 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.673/1.673, allocations: 207.6 MB / 233.7 MB, free: 10.01 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.2463/0.2463, allocations: 44.24 MB / 330.2 MB, free: 9.547 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.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs")
translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs") [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.002174/0.002174, allocations: 75.83 kB / 467.9 MB, free: 4.051 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1454, allocations: 61.04 MB / 0.5166 GB, free: 6.871 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.008236/0.1536, allocations: 5.801 MB / 0.5222 GB, free: 1.035 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005725/0.1594, allocations: 2.369 MB / 0.5246 GB, free: 14.66 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.1606, allocations: 51.56 kB / 0.5246 GB, free: 14.61 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0006995/0.1613, allocations: 234 kB / 0.5248 GB, free: 14.38 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005879/0.1619, allocations: 178.3 kB / 0.525 GB, free: 14.2 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.1634, allocations: 486.6 kB / 0.5255 GB, free: 13.72 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0013/0.1647, allocations: 1.103 MB / 0.5265 GB, free: 12.61 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0007241/0.1654, allocations: 426 kB / 0.5269 GB, free: 12.18 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004572/0.1658, allocations: 382.6 kB / 0.5273 GB, free: 11.8 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004601/0.1663, allocations: 390.1 kB / 0.5277 GB, free: 11.42 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.1664, allocations: 96 kB / 0.5278 GB, free: 11.32 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003273/0.1668, allocations: 159.9 kB / 0.5279 GB, free: 11.17 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002371/0.167, allocations: 215.2 kB / 0.5281 GB, free: 10.96 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000443/0.1674, allocations: 465.7 kB / 0.5286 GB, free: 10.5 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001415/0.1688, allocations: 1.284 MB / 0.5298 GB, free: 9.211 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.1689, allocations: 4 kB / 0.5298 GB, free: 9.207 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.663e-06/0.1689, allocations: 0 / 0.5298 GB, free: 9.207 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 1.454e-05/0.1689, allocations: 0 / 0.5298 GB, free: 9.207 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: 230
 * Number of variables: 230
Notification: Performance of Generate backend data structure: time 0.001709/0.1706, allocations: 1.074 MB / 0.5309 GB, free: 8.102 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.1706, allocations: 12.02 kB / 0.5309 GB, free: 8.09 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.1708, allocations: 108.3 kB / 0.531 GB, free: 7.984 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.1718, allocations: 0.5264 MB / 0.5315 GB, free: 7.43 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.412e-05/0.1719, allocations: 66 kB / 0.5316 GB, free: 7.363 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.172, allocations: 95.94 kB / 0.5317 GB, free: 7.27 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.1736, allocations: 0.8814 MB / 0.5325 GB, free: 6.328 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/0.1737, allocations: 4 kB / 0.5325 GB, free: 6.324 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.277e-05/0.1738, allocations: 43.98 kB / 0.5326 GB, free: 6.281 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.1738, allocations: 27.94 kB / 0.5326 GB, free: 6.254 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.1748, allocations: 0.5229 MB / 0.5331 GB, free: 5.73 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003946/0.1788, allocations: 3.512 MB / 0.5365 GB, free: 2.07 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005754/0.1793, allocations: 210.6 kB / 0.5367 GB, free: 1.855 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.1795, allocations: 92.81 kB / 0.5368 GB, free: 1.762 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.1796, allocations: 23.97 kB / 0.5369 GB, free: 1.738 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.1797, allocations: 34.56 kB / 0.5369 GB, free: 1.695 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.1797, allocations: 0 / 0.5369 GB, free: 1.695 MB / 414.1 MB
Notification: Performance of matching and sorting (n=35): time 0.002499/0.1822, allocations: 1.169 MB / 0.538 GB, free: 480 kB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.1822, allocations: 59.34 kB / 0.5381 GB, free: 408 kB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004546/0.1827, allocations: 401.9 kB / 0.5385 GB, free: 0 / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.3066/0.4893, allocations: 32.34 kB / 0.5385 GB, free: 28.59 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0004363/0.4897, allocations: 474.9 kB / 0.539 GB, free: 28.51 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.4898, allocations: 144.6 kB / 0.5391 GB, free: 28.44 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.49, allocations: 99.73 kB / 0.5392 GB, free: 28.41 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001083/0.4901, allocations: 358.7 kB / 0.5395 GB, free: 28.1 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.4903, allocations: 114 kB / 0.5396 GB, free: 28.1 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003575/0.4907, allocations: 310.9 kB / 0.5399 GB, free: 27.87 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005462/0.4912, allocations: 449.8 kB / 0.5404 GB, free: 27.65 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.4913, allocations: 1.125 kB / 0.5404 GB, free: 27.65 MB / 414.1 MB
Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009057/0.4922, allocations: 0.5185 MB / 0.5409 GB, free: 27.57 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.4922, allocations: 8.844 kB / 0.5409 GB, free: 27.57 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.4922, allocations: 6.906 kB / 0.5409 GB, free: 27.57 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003011/0.4925, allocations: 42.48 kB / 0.5409 GB, free: 27.56 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/0.4929, allocations: 124.8 kB / 0.541 GB, free: 27.56 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003671/0.4933, allocations: 0.5625 MB / 0.5416 GB, free: 27.05 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.4936, allocations: 19.7 kB / 0.5416 GB, free: 27.05 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/0.4936, allocations: 24.75 kB / 0.5416 GB, free: 27.05 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 28
 * 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 (68):
 * Single equations (assignments): 67
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * 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): 1 system
   {(1,2)}
Notification: Performance of prepare postOptimizeDAE: time 0.0003457/0.494, allocations: 230.5 kB / 0.5419 GB, free: 26.93 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.861e-05/0.4941, allocations: 53.92 kB / 0.5419 GB, free: 26.91 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006617/0.4947, allocations: 323 kB / 0.5422 GB, free: 26.86 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.4947, allocations: 4.281 kB / 0.5422 GB, free: 26.86 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4948, allocations: 5.969 kB / 0.5422 GB, free: 26.86 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.4948, allocations: 1.359 kB / 0.5422 GB, free: 26.86 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.4963, allocations: 1.013 MB / 0.5432 GB, free: 26.38 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.4963, allocations: 11.77 kB / 0.5432 GB, free: 26.38 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003619/0.4967, allocations: 82.48 kB / 0.5433 GB, free: 26.38 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001477/0.4968, allocations: 30.5 kB / 0.5433 GB, free: 26.36 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.4969, allocations: 14.47 kB / 0.5433 GB, free: 26.36 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002456/0.4971, allocations: 0.5479 MB / 0.5439 GB, free: 25.82 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4971, allocations: 1.094 kB / 0.5439 GB, free: 25.82 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000844/0.498, allocations: 0.5606 MB / 0.5444 GB, free: 25.48 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.244e-05/0.498, allocations: 42.47 kB / 0.5445 GB, free: 25.45 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.238e-05/0.4981, allocations: 8.719 kB / 0.5445 GB, free: 25.45 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.4982, allocations: 8.219 kB / 0.5445 GB, free: 25.45 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.628e-05/0.4983, allocations: 31.2 kB / 0.5445 GB, free: 25.44 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/0.4984, allocations: 14 kB / 0.5445 GB, free: 25.43 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0003843/0.4987, allocations: 271.2 kB / 0.5448 GB, free: 25.3 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4987, allocations: 6.812 kB / 0.5448 GB, free: 25.3 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0007238/0.4995, allocations: 124.7 kB / 0.5449 GB, free: 25.29 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 6
 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w)
 * 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 (33):
 * Single equations (assignments): 32
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * 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): 1 system
   {(1,2)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.000196/0.4997, allocations: 120.5 kB / 0.545 GB, free: 25.19 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0007419/0.5004, allocations: 317.5 kB / 0.5453 GB, free: 25.1 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5004, allocations: 0 / 0.5453 GB, free: 25.1 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000296/0.5007, allocations: 135.9 kB / 0.5455 GB, free: 25.06 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006114/0.5013, allocations: 77.75 kB / 0.5455 GB, free: 25.03 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002774/0.5041, allocations: 1.642 MB / 0.5471 GB, free: 23.99 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005486/0.5046, allocations: 0.9582 MB / 0.5481 GB, free: 23.28 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0002563/0.5049, allocations: 59.8 kB / 0.5481 GB, free: 23.27 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.27e-05/0.505, allocations: 40.25 kB / 0.5482 GB, free: 23.26 MB / 414.1 MB
Notification: Performance of SimCode: time 5.21e-07/0.505, allocations: 0 / 0.5482 GB, free: 23.26 MB / 414.1 MB
Notification: Performance of Templates: time 0.01539/0.5204, allocations: 4.631 MB / 0.5527 GB, free: 22.79 MB / 414.1 MB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.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.659145602956414]