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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 100.4 kB / 20.45 MB, free: 1.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 206.2 kB / 23.74 MB, free: 4.543 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.518/1.518, allocations: 207.7 MB / 234.6 MB, free: 9.777 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.2252/0.2252, allocations: 44.27 MB / 331.1 MB, free: 9.301 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002514/0.002514, allocations: 63.91 kB / 468.7 MB, free: 3.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1373, allocations: 61.05 MB / 0.5174 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.007503/0.1448, allocations: 5.12 MB / 0.5224 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004709/0.1495, allocations: 2.241 MB / 0.5246 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007294/0.1503, allocations: 51.56 kB / 0.5246 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005435/0.1508, allocations: 234 kB / 0.5248 GB, free: 15 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004636/0.1513, allocations: 186.3 kB / 0.525 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.1524, allocations: 462.9 kB / 0.5254 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001241/0.1537, allocations: 1.099 MB / 0.5265 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006955/0.1544, allocations: 402 kB / 0.5269 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004854/0.1548, allocations: 382.6 kB / 0.5273 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004497/0.1553, allocations: 342 kB / 0.5276 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.1554, allocations: 96 kB / 0.5277 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002978/0.1557, allocations: 159.9 kB / 0.5278 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002237/0.1559, allocations: 211.3 kB / 0.528 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003894/0.1563, allocations: 374.1 kB / 0.5284 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.1578, allocations: 1.284 MB / 0.5296 GB, free: 10.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1578, allocations: 0 / 0.5296 GB, free: 10.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1578, allocations: 0 / 0.5296 GB, free: 10.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.1578, allocations: 0 / 0.5296 GB, free: 10.02 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.001757/0.1596, allocations: 1.085 MB / 0.5307 GB, free: 8.898 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.1596, allocations: 12.03 kB / 0.5307 GB, free: 8.887 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.1598, allocations: 104.3 kB / 0.5308 GB, free: 8.785 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.1608, allocations: 0.5147 MB / 0.5313 GB, free: 8.242 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.718e-05/0.1609, allocations: 66 kB / 0.5314 GB, free: 8.176 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.161, allocations: 99.94 kB / 0.5315 GB, free: 8.078 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.1626, allocations: 0.8814 MB / 0.5323 GB, free: 7.137 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.355e-05/0.1626, allocations: 11.98 kB / 0.5324 GB, free: 7.125 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.639e-05/0.1627, allocations: 36 kB / 0.5324 GB, free: 7.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.1627, allocations: 28 kB / 0.5324 GB, free: 7.062 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.1638, allocations: 0.5229 MB / 0.5329 GB, free: 6.539 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003824/0.1676, allocations: 3.217 MB / 0.5361 GB, free: 3.188 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006033/0.1682, allocations: 199.1 kB / 0.5363 GB, free: 2.984 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.1684, allocations: 100.8 kB / 0.5364 GB, free: 2.883 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.1685, allocations: 23.98 kB / 0.5364 GB, free: 2.859 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.1685, allocations: 34.56 kB / 0.5364 GB, free: 2.816 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.435e-06/0.1686, allocations: 0 / 0.5364 GB, free: 2.816 MB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.002582/0.1711, allocations: 1.158 MB / 0.5375 GB, free: 1.602 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.1712, allocations: 55.41 kB / 0.5376 GB, free: 1.535 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005141/0.1717, allocations: 421.7 kB / 0.538 GB, free: 1.121 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.1717, allocations: 33.64 kB / 0.538 GB, free: 1.082 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003778/0.1721, allocations: 483.5 kB / 0.5385 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.1722, allocations: 138.8 kB / 0.5386 GB, free: 476 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.1724, allocations: 98.3 kB / 0.5387 GB, free: 368 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.1726, allocations: 358.8 kB / 0.5391 GB, free: 0 / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2602/0.4328, allocations: 109.4 kB / 0.5392 GB, free: 28.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004309/0.4332, allocations: 310 kB / 0.5395 GB, free: 28.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007463/0.4339, allocations: 451.7 kB / 0.5399 GB, free: 28.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.4339, allocations: 3.812 kB / 0.5399 GB, free: 28.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001252/0.4352, allocations: 0.5151 MB / 0.5404 GB, free: 27.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.4352, allocations: 8.688 kB / 0.5404 GB, free: 27.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.4352, allocations: 6.531 kB / 0.5404 GB, free: 27.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002938/0.4355, allocations: 44.08 kB / 0.5404 GB, free: 27.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005872/0.4361, allocations: 123.2 kB / 0.5406 GB, free: 27.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003937/0.4365, allocations: 0.5622 MB / 0.5411 GB, free: 27.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003983/0.4369, allocations: 16.17 kB / 0.5411 GB, free: 27.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.15e-05/0.437, allocations: 29.05 kB / 0.5412 GB, free: 27.41 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.0004078/0.4374, allocations: 228.7 kB / 0.5414 GB, free: 27.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.4375, allocations: 53.33 kB / 0.5414 GB, free: 27.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008694/0.4384, allocations: 329.3 kB / 0.5417 GB, free: 27.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.4384, allocations: 5.781 kB / 0.5417 GB, free: 27.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4384, allocations: 2.375 kB / 0.5417 GB, free: 27.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.4384, allocations: 3.094 kB / 0.5418 GB, free: 27.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/0.4405, allocations: 0.8745 MB / 0.5426 GB, free: 26.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.4405, allocations: 3.25 kB / 0.5426 GB, free: 26.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005514/0.441, allocations: 81.67 kB / 0.5427 GB, free: 26.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002122/0.4412, allocations: 34.17 kB / 0.5427 GB, free: 26.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.745e-05/0.4413, allocations: 8.578 kB / 0.5427 GB, free: 26.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003336/0.4416, allocations: 0.5623 MB / 0.5433 GB, free: 26.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.4416, allocations: 1.125 kB / 0.5433 GB, free: 26.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009291/0.4425, allocations: 0.5594 MB / 0.5438 GB, free: 26.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.592e-05/0.4426, allocations: 43.94 kB / 0.5439 GB, free: 26.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.552e-05/0.4427, allocations: 9.531 kB / 0.5439 GB, free: 26.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.4428, allocations: 10.03 kB / 0.5439 GB, free: 26.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.901e-05/0.4429, allocations: 25.3 kB / 0.5439 GB, free: 26.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/0.443, allocations: 11.86 kB / 0.5439 GB, free: 26.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004185/0.4434, allocations: 270.5 kB / 0.5442 GB, free: 26.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4434, allocations: 2.75 kB / 0.5442 GB, free: 26.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001012/0.4444, allocations: 126.8 kB / 0.5443 GB, free: 26.01 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.0001931/0.4446, allocations: 113.6 kB / 0.5444 GB, free: 25.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009541/0.4455, allocations: 321.4 kB / 0.5447 GB, free: 25.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4455, allocations: 2.141 kB / 0.5447 GB, free: 25.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003573/0.4459, allocations: 136.9 kB / 0.5448 GB, free: 25.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007893/0.4467, allocations: 74.83 kB / 0.5449 GB, free: 25.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003603/0.4503, allocations: 1.688 MB / 0.5466 GB, free: 24.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006305/0.4509, allocations: 362.5 kB / 0.5469 GB, free: 24.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.4511, allocations: 48.25 kB / 0.547 GB, free: 24.57 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4511, allocations: 0 / 0.547 GB, free: 24.57 MB / 414.1 MB Notification: Performance of Templates: time 0.02262/0.4737, allocations: 11.63 MB / 0.5583 GB, free: 21.88 MB / 414.1 MB " [Timeout remaining time 660] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/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: 8.81578348716721]