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.001066/0.001066, allocations: 105.2 kB / 16.27 MB, free: 5.965 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.001227/0.001227, allocations: 191.6 kB / 17.19 MB, free: 5.602 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.651/1.651, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2572/0.2572, allocations: 43.52 MB / 313.9 MB, free: 0.543 MB / 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.001532/0.001532, allocations: 69.52 kB / 382.7 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1386, allocations: 57.79 MB / 440.5 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.005535/0.1442, allocations: 5.756 MB / 446.3 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003814/0.148, allocations: 2.33 MB / 448.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006652/0.1487, allocations: 39.75 kB / 448.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004689/0.1492, allocations: 234 kB / 448.9 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004258/0.1497, allocations: 174.3 kB / 449 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009642/0.1506, allocations: 454.9 kB / 449.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001029/0.1517, allocations: 1.122 MB / 450.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008306/0.1525, allocations: 0.6187 MB / 451.2 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005516/0.1531, allocations: 358.7 kB / 451.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004037/0.1535, allocations: 386.1 kB / 451.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.1536, allocations: 96 kB / 452 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002707/0.1539, allocations: 155.9 kB / 452.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.1541, allocations: 219.2 kB / 452.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004039/0.1545, allocations: 473.6 kB / 452.9 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.1558, allocations: 1.226 MB / 454.1 MB, free: 9.262 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.1558, allocations: 7.938 kB / 454.1 MB, free: 9.254 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1558, allocations: 0 / 454.1 MB, free: 9.254 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.1558, allocations: 0 / 454.1 MB, free: 9.254 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.001564/0.1574, allocations: 1.115 MB / 455.2 MB, free: 8.086 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.362e-05/0.1575, allocations: 11.89 kB / 455.2 MB, free: 8.074 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.1576, allocations: 107.7 kB / 455.3 MB, free: 7.969 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007578/0.1584, allocations: 0.5746 MB / 455.9 MB, free: 7.352 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.669e-05/0.1584, allocations: 66 kB / 456 MB, free: 7.289 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.1586, allocations: 92 kB / 456.1 MB, free: 7.199 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.16, allocations: 0.8853 MB / 456.9 MB, free: 6.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.912e-05/0.1601, allocations: 7.906 kB / 457 MB, free: 6.242 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.669e-05/0.1602, allocations: 39.98 kB / 457 MB, free: 6.203 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.1602, allocations: 28 kB / 457 MB, free: 6.176 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009938/0.1612, allocations: 0.5229 MB / 457.5 MB, free: 5.656 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003895/0.1651, allocations: 3.639 MB / 461.2 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005449/0.1657, allocations: 232.1 kB / 461.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.1659, allocations: 92.83 kB / 461.5 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002301/0.1661, allocations: 255.3 kB / 461.8 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.1661, allocations: 35.06 kB / 461.8 MB, free: 1.184 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 1.322e-06/0.1661, allocations: 0 / 461.8 MB, free: 1.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002437/0.1686, allocations: 1.295 MB / 463.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.1686, allocations: 63.33 kB / 463.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003994/0.1691, allocations: 397.8 kB / 463.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.1691, allocations: 37.7 kB / 463.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000333/0.1694, allocations: 470.1 kB / 464 MB, free: 14.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.1696, allocations: 134.1 kB / 464.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.1697, allocations: 98.16 kB / 464.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.1699, allocations: 362.8 kB / 464.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.1701, allocations: 109.1 kB / 464.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003843/0.1705, allocations: 314.2 kB / 465 MB, free: 13.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006414/0.1712, allocations: 456.5 kB / 465.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1712, allocations: 0 / 465.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008522/0.172, allocations: 0.5132 MB / 466 MB, free: 12.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.1721, allocations: 8 kB / 466 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.1721, allocations: 4 kB / 466 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002796/0.1724, allocations: 40.83 kB / 466 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004592/0.1728, allocations: 131.8 kB / 466.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00064/0.1735, allocations: 0.5562 MB / 466.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.1737, allocations: 28.16 kB / 466.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-05/0.1738, allocations: 24 kB / 466.8 MB, free: 11.85 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.0004041/0.1742, allocations: 225.6 kB / 467 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.1743, allocations: 55.28 kB / 467 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007221/0.1751, allocations: 331.3 kB / 467.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.1751, allocations: 4 kB / 467.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.1751, allocations: 0 / 467.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.1751, allocations: 0 / 467.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.1769, allocations: 1.057 MB / 468.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1769, allocations: 0 / 468.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003452/0.1773, allocations: 79.91 kB / 468.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001378/0.1774, allocations: 32.78 kB / 468.5 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.999e-05/0.1775, allocations: 11.98 kB / 468.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003866/0.1779, allocations: 0.5564 MB / 469.1 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.1779, allocations: 4.031 kB / 469.1 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008149/0.1787, allocations: 0.5591 MB / 469.7 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.14e-05/0.1788, allocations: 120.6 kB / 469.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.676e-05/0.1788, allocations: 8 kB / 469.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.179, allocations: 11.94 kB / 469.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.82e-05/0.1791, allocations: 27.91 kB / 469.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.1791, allocations: 12 kB / 469.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003056/0.1794, allocations: 275.1 kB / 470.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1794, allocations: 0 / 470.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005359/0.18, allocations: 128 kB / 470.2 MB, free: 8.195 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.000168/0.1801, allocations: 115.2 kB / 470.4 MB, free: 8.074 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006976/0.1808, allocations: 344.2 kB / 470.7 MB, free: 7.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1809, allocations: 4 kB / 470.7 MB, free: 7.734 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002547/0.1811, allocations: 143.8 kB / 470.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005573/0.1817, allocations: 79.66 kB / 470.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.1842, allocations: 1.63 MB / 472.5 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005751/0.1848, allocations: 0.9561 MB / 473.5 MB, free: 4.855 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001873/0.185, allocations: 60.53 kB / 473.6 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.323e-05/0.1851, allocations: 43.42 kB / 473.6 MB, free: 4.75 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.1851, allocations: 0 / 473.6 MB, free: 4.75 MB / 350.1 MB Notification: Performance of Templates: time 0.009806/0.1949, allocations: 4.149 MB / 477.7 MB, free: 0.6289 MB / 350.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 -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/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) Reference file matches