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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 106.3 kB / 17.03 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001508, allocations: 196.1 kB / 17.96 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.59/1.59, allocations: 205.1 MB / 223.8 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2632/0.2632, allocations: 43.53 MB / 314.7 MB, free: 468 kB / 254.1 MB 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.001433/0.001433, allocations: 74.06 kB / 384.2 MB, free: 56.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1356, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.007199/0.1429, allocations: 5.748 MB / 447.7 MB, free: 380 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005676/0.1486, allocations: 2.338 MB / 450 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009777/0.1497, allocations: 35.81 kB / 450.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006406/0.1504, allocations: 226 kB / 450.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005571/0.151, allocations: 186.2 kB / 450.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.1522, allocations: 462.9 kB / 450.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001325/0.1535, allocations: 1.114 MB / 452 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009452/0.1545, allocations: 0.6224 MB / 452.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005036/0.155, allocations: 366.6 kB / 453 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004886/0.1555, allocations: 382.1 kB / 453.4 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.1556, allocations: 100 kB / 453.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002908/0.1559, allocations: 159.9 kB / 453.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002154/0.1561, allocations: 211.3 kB / 453.9 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004638/0.1566, allocations: 469.6 kB / 454.3 MB, free: 9.711 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.158, allocations: 1.257 MB / 455.6 MB, free: 8.449 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.158, allocations: 0 / 455.6 MB, free: 8.449 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.158, allocations: 0 / 455.6 MB, free: 8.449 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.158, allocations: 0 / 455.6 MB, free: 8.449 MB / 334.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.001861/0.1599, allocations: 1.135 MB / 456.7 MB, free: 7.262 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.1599, allocations: 11.89 kB / 456.7 MB, free: 7.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.1601, allocations: 103.7 kB / 456.8 MB, free: 7.148 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.1613, allocations: 0.5864 MB / 457.4 MB, free: 6.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.476e-05/0.1613, allocations: 70 kB / 457.5 MB, free: 6.453 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.1615, allocations: 91.98 kB / 457.6 MB, free: 6.363 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.1631, allocations: 0.8892 MB / 458.5 MB, free: 5.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.867e-05/0.1631, allocations: 11.89 kB / 458.5 MB, free: 5.398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.247e-05/0.1632, allocations: 36 kB / 458.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.1632, allocations: 24 kB / 458.5 MB, free: 5.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.1642, allocations: 0.5268 MB / 459.1 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003866/0.1681, allocations: 3.611 MB / 462.7 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006094/0.1687, allocations: 220.1 kB / 462.9 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.1689, allocations: 100.8 kB / 463 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002395/0.1692, allocations: 247.3 kB / 463.2 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.1692, allocations: 43.05 kB / 463.3 MB, free: 384 kB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 1.883e-06/0.1692, allocations: 0 / 463.3 MB, free: 384 kB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002632/0.1719, allocations: 1.295 MB / 464.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.1719, allocations: 59.34 kB / 464.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004744/0.1724, allocations: 401.8 kB / 465 MB, free: 14.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.695e-05/0.1725, allocations: 29.7 kB / 465 MB, free: 14.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000352/0.1728, allocations: 474 kB / 465.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.173, allocations: 134.1 kB / 465.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.1731, allocations: 98.16 kB / 465.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002137/0.1733, allocations: 358.8 kB / 466.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.1736, allocations: 121.1 kB / 466.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.174, allocations: 310.2 kB / 466.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006242/0.1746, allocations: 452.5 kB / 466.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1746, allocations: 4 kB / 466.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008311/0.1755, allocations: 0.5125 MB / 467.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.1755, allocations: 8 kB / 467.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.1755, allocations: 8 kB / 467.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002325/0.1758, allocations: 36.84 kB / 467.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003818/0.1762, allocations: 128.4 kB / 467.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004417/0.1766, allocations: 0.564 MB / 468.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.1768, allocations: 16 kB / 468.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.31e-05/0.1769, allocations: 28 kB / 468.2 MB, free: 11.04 MB / 350.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.0003127/0.1772, allocations: 229.6 kB / 468.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.412e-05/0.1773, allocations: 59.31 kB / 468.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006243/0.1779, allocations: 331.3 kB / 468.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1779, allocations: 4 kB / 468.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.1779, allocations: 4 kB / 468.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1779, allocations: 0 / 468.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.1794, allocations: 1.054 MB / 469.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1794, allocations: 0 / 469.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003709/0.1798, allocations: 75.91 kB / 470 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001427/0.1799, allocations: 44.7 kB / 470 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.18, allocations: 12 kB / 470 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003603/0.1803, allocations: 0.5486 MB / 470.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.1803, allocations: 4.031 kB / 470.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008009/0.1812, allocations: 0.5641 MB / 471.2 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.1813, allocations: 116.5 kB / 471.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.055e-05/0.1813, allocations: 12.19 kB / 471.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.1815, allocations: 8 kB / 471.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.198e-05/0.1816, allocations: 31.84 kB / 471.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.1816, allocations: 11.98 kB / 471.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002848/0.1819, allocations: 271.2 kB / 471.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1819, allocations: 0 / 471.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005508/0.1825, allocations: 124 kB / 471.7 MB, free: 7.383 MB / 350.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.0001933/0.1827, allocations: 115.3 kB / 471.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006252/0.1833, allocations: 336.1 kB / 472.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1833, allocations: 0 / 472.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002544/0.1836, allocations: 139.8 kB / 472.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005123/0.1841, allocations: 76.03 kB / 472.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/0.1867, allocations: 1.607 MB / 474 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005735/0.1873, allocations: 0.96 MB / 474.9 MB, free: 4.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001778/0.1875, allocations: 52.55 kB / 475 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.939e-05/0.1876, allocations: 43.42 kB / 475 MB, free: 3.988 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1876, allocations: 3.938 kB / 475 MB, free: 3.984 MB / 350.1 MB Notification: Performance of Templates: time 0.009729/0.1974, allocations: 4.134 MB / 479.2 MB, free: 15.87 MB / 366.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.makefile (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 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) 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) Reference file matches