Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.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.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 97.14 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001174, allocations: 172.4 kB / 16.57 MB, free: 6.852 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.426/1.426, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4049/0.4049, allocations: 43.54 MB / 314.5 MB, free: 9.07 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.0005226/0.0005224, allocations: 12 kB / 383.9 MB, free: 8.289 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1552, allocations: 58.85 MB / 442.7 MB, free: 13.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.002871/0.1581, allocations: 2.113 MB / 444.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.1591, allocations: 0.6831 MB / 445.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.1593, allocations: 4 kB / 445.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.609e-05/0.1593, allocations: 23.78 kB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002125/0.1596, allocations: 103.7 kB / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.1598, allocations: 63.92 kB / 445.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003206/0.1601, allocations: 235.5 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.1603, allocations: 61.58 kB / 446 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.1605, allocations: 115.5 kB / 446.1 MB, free: 9.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.1607, allocations: 115.4 kB / 446.2 MB, free: 9.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.1607, allocations: 12 kB / 446.3 MB, free: 9.793 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.919e-05/0.1608, allocations: 12 kB / 446.3 MB, free: 9.781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.863e-05/0.1608, allocations: 43.83 kB / 446.3 MB, free: 9.738 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.665e-05/0.1609, allocations: 81.52 kB / 446.4 MB, free: 9.652 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.1612, allocations: 211.7 kB / 446.6 MB, free: 9.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.1612, allocations: 0 / 446.6 MB, free: 9.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1612, allocations: 0 / 446.6 MB, free: 9.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1612, allocations: 0 / 446.6 MB, free: 9.445 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008945/0.1621, allocations: 0.5456 MB / 447.1 MB, free: 8.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.1622, allocations: 12.02 kB / 447.1 MB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.95e-05/0.1622, allocations: 35.62 kB / 447.2 MB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.1626, allocations: 242.5 kB / 447.4 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.1626, allocations: 20.56 kB / 447.4 MB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.288e-05/0.1627, allocations: 31.98 kB / 447.5 MB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004856/0.1631, allocations: 285.9 kB / 447.8 MB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.1632, allocations: 7.859 kB / 447.8 MB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.1632, allocations: 16 kB / 447.8 MB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.1632, allocations: 11.98 kB / 447.8 MB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004111/0.1637, allocations: 195.8 kB / 448 MB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.1653, allocations: 1.325 MB / 449.3 MB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003901/0.1657, allocations: 250.4 kB / 449.5 MB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.1657, allocations: 12.11 kB / 449.6 MB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.1658, allocations: 34.72 kB / 449.6 MB, free: 6.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/0.1658, allocations: 8 kB / 449.6 MB, free: 6.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002584/0.1684, allocations: 1.616 MB / 451.2 MB, free: 4.348 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.941e-05/0.1685, allocations: 144.5 kB / 451.4 MB, free: 4.176 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.1687, allocations: 217 kB / 451.6 MB, free: 3.949 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.1687, allocations: 33.7 kB / 451.6 MB, free: 3.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.1688, allocations: 176.2 kB / 451.8 MB, free: 3.734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.961e-05/0.1689, allocations: 114.3 kB / 451.9 MB, free: 3.621 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.725e-05/0.1689, allocations: 12 kB / 451.9 MB, free: 3.609 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1691, allocations: 334.8 kB / 452.2 MB, free: 3.273 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.1693, allocations: 116.8 kB / 452.3 MB, free: 3.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000333/0.1696, allocations: 241.4 kB / 452.6 MB, free: 2.867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.1699, allocations: 148.2 kB / 452.7 MB, free: 2.723 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1699, allocations: 0 / 452.7 MB, free: 2.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007154/0.1707, allocations: 416.8 kB / 453.1 MB, free: 2.309 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.1707, allocations: 8 kB / 453.1 MB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.1707, allocations: 4 kB / 453.1 MB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.1707, allocations: 11.95 kB / 453.1 MB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.1711, allocations: 112.1 kB / 453.3 MB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.905e-05/0.1711, allocations: 15.92 kB / 453.3 MB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.1713, allocations: 27.98 kB / 453.3 MB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.1714, allocations: 19.94 kB / 453.3 MB, free: 2.113 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001376/0.1715, allocations: 153.7 kB / 453.5 MB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-05/0.1716, allocations: 31.62 kB / 453.5 MB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.516e-05/0.1717, allocations: 33.7 kB / 453.5 MB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1717, allocations: 4 kB / 453.5 MB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.1717, allocations: 3.953 kB / 453.5 MB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.1717, allocations: 4.266 kB / 453.5 MB, free: 1.871 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.1731, allocations: 1.013 MB / 454.6 MB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1731, allocations: 0 / 454.6 MB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.1735, allocations: 87.95 kB / 454.6 MB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.1735, allocations: 4 kB / 454.6 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.1735, allocations: 11.98 kB / 454.7 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1735, allocations: 0 / 454.7 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1735, allocations: 4 kB / 454.7 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2897/0.4632, allocations: 0.8157 MB / 455.5 MB, free: 46.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.4634, allocations: 100.8 kB / 455.6 MB, free: 46.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.1e-05/0.4635, allocations: 7.906 kB / 455.6 MB, free: 46.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/0.4638, allocations: 25.91 kB / 455.6 MB, free: 46.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.694e-05/0.4639, allocations: 32.25 kB / 455.6 MB, free: 46.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.464, allocations: 8.031 kB / 455.7 MB, free: 46.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001528/0.4641, allocations: 157.6 kB / 455.8 MB, free: 46.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4641, allocations: 0 / 455.8 MB, free: 46.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005348/0.4647, allocations: 72 kB / 455.9 MB, free: 46.04 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001289/0.4648, allocations: 101.3 kB / 456 MB, free: 45.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006605/0.4655, allocations: 299.4 kB / 456.3 MB, free: 45.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4655, allocations: 0 / 456.3 MB, free: 45.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.4657, allocations: 137.5 kB / 456.4 MB, free: 45.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/0.4662, allocations: 43.75 kB / 456.4 MB, free: 45.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.4675, allocations: 1.074 MB / 457.5 MB, free: 45.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.4677, allocations: 0.7745 MB / 458.3 MB, free: 44.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001281/0.4678, allocations: 34.81 kB / 458.3 MB, free: 44.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.204e-05/0.4679, allocations: 22.69 kB / 458.3 MB, free: 44.62 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4679, allocations: 0 / 458.3 MB, free: 44.62 MB / 382.1 MB Notification: Performance of Templates: time 0.005444/0.4733, allocations: 2.105 MB / 460.5 MB, free: 44.5 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches