Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001004/0.001004, allocations: 91.14 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001418/0.001418, allocations: 197.8 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.7 MB / 246.8 MB, free: 9.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2642/0.2642, allocations: 46.19 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003093/0.0003094, allocations: 7.984 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1404, allocations: 63.56 MB / 483.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003554/0.144, allocations: 2.303 MB / 485.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.1454, allocations: 0.713 MB / 486.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.1456, allocations: 7.938 kB / 486.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.1457, allocations: 35.66 kB / 486.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.1459, allocations: 79.39 kB / 486.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.1462, allocations: 83.91 kB / 486.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000367/0.1466, allocations: 318.6 kB / 486.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002489/0.1468, allocations: 76.31 kB / 486.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.1471, allocations: 115.6 kB / 486.8 MB, free: 408 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.1472, allocations: 119.3 kB / 486.9 MB, free: 288 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.527e-05/0.1473, allocations: 16 kB / 486.9 MB, free: 272 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.741e-05/0.1474, allocations: 19.98 kB / 486.9 MB, free: 252 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.706e-05/0.1475, allocations: 47.77 kB / 487 MB, free: 204 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.1476, allocations: 156.9 kB / 487.1 MB, free: 40 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.148, allocations: 283.1 kB / 487.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.148, allocations: 0 / 487.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.148, allocations: 0 / 487.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.148, allocations: 0 / 487.4 MB, free: 15.76 MB / 366.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.0008645/0.1489, allocations: 0.5535 MB / 488 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.1489, allocations: 11.97 kB / 488 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002522/0.1492, allocations: 60.55 kB / 488 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.1495, allocations: 276.6 kB / 488.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.1496, allocations: 16.94 kB / 488.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.431e-05/0.1496, allocations: 24.38 kB / 488.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005102/0.1501, allocations: 298.2 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.1502, allocations: 7.906 kB / 488.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.1502, allocations: 12 kB / 488.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.1502, allocations: 8 kB / 488.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004434/0.1507, allocations: 198.5 kB / 488.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.1524, allocations: 1.325 MB / 490.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004208/0.1528, allocations: 250.4 kB / 490.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.153, allocations: 115.5 kB / 490.5 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.1531, allocations: 4 kB / 490.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.1531, allocations: 42.56 kB / 490.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.613e-06/0.1531, allocations: 0 / 490.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.002688/0.1558, allocations: 1.636 MB / 492.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.1559, allocations: 140.5 kB / 492.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.1561, allocations: 225.3 kB / 492.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.1561, allocations: 29.7 kB / 492.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.1563, allocations: 180.2 kB / 492.8 MB, free: 9.863 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.1565, allocations: 122.2 kB / 492.9 MB, free: 9.742 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/0.1565, allocations: 37.7 kB / 492.9 MB, free: 9.699 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1567, allocations: 338.8 kB / 493.3 MB, free: 9.359 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002829/0.157, allocations: 116.8 kB / 493.4 MB, free: 9.246 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003524/0.1573, allocations: 245.5 kB / 493.6 MB, free: 8.941 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007406/0.1581, allocations: 392.8 kB / 494 MB, free: 8.496 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1581, allocations: 4 kB / 494 MB, free: 8.492 MB / 366.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008378/0.1589, allocations: 417.5 kB / 494.4 MB, free: 8.078 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.159, allocations: 12 kB / 494.4 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.159, allocations: 4 kB / 494.4 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.159, allocations: 8.094 kB / 494.5 MB, free: 8.055 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003971/0.1594, allocations: 107.8 kB / 494.6 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.1594, allocations: 8 kB / 494.6 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.1597, allocations: 35.98 kB / 494.6 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.1597, allocations: 19.98 kB / 494.6 MB, free: 7.887 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001531/0.1599, allocations: 153.7 kB / 494.8 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.16, allocations: 31.56 kB / 494.8 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.025e-05/0.1601, allocations: 37.7 kB / 494.8 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.1601, allocations: 4 kB / 494.8 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1601, allocations: 0 / 494.8 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.1601, allocations: 4 kB / 494.8 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.1616, allocations: 1.013 MB / 495.9 MB, free: 6.574 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.1617, allocations: 4.422 kB / 495.9 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000393/0.1621, allocations: 83.89 kB / 495.9 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.1621, allocations: 7.938 kB / 496 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.1621, allocations: 12 kB / 496 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.1621, allocations: 11.98 kB / 496 MB, free: 6.457 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.1621, allocations: 4 kB / 496 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.1633, allocations: 0.7568 MB / 496.7 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.542e-05/0.1634, allocations: 100.8 kB / 496.8 MB, free: 5.555 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.1634, allocations: 16 kB / 496.8 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003247/0.1637, allocations: 27.98 kB / 496.9 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.916e-05/0.1638, allocations: 19.97 kB / 496.9 MB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.1639, allocations: 15.98 kB / 496.9 MB, free: 5.477 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001473/0.164, allocations: 156.5 kB / 497.1 MB, free: 5.328 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.164, allocations: 0 / 497.1 MB, free: 5.328 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005041/0.1645, allocations: 72 kB / 497.1 MB, free: 5.258 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001573/0.1647, allocations: 103.2 kB / 497.2 MB, free: 5.148 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007062/0.1654, allocations: 299.8 kB / 497.5 MB, free: 4.855 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1654, allocations: 0 / 497.5 MB, free: 4.855 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003218/0.1658, allocations: 144.4 kB / 497.7 MB, free: 4.715 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007876/0.1665, allocations: 49.28 kB / 497.7 MB, free: 4.668 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.169, allocations: 1.121 MB / 498.8 MB, free: 3.504 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005444/0.1696, allocations: 0.7722 MB / 499.6 MB, free: 2.699 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002462/0.1698, allocations: 30.95 kB / 499.6 MB, free: 2.668 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.1699, allocations: 35.36 kB / 499.7 MB, free: 2.633 MB / 366.1 MB Notification: Performance of SimCode: time 1.242e-06/0.17, allocations: 4 kB / 499.7 MB, free: 2.629 MB / 366.1 MB Notification: Performance of Templates: time 0.008531/0.1785, allocations: 2.164 MB / 0.4901 GB, free: 488 kB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches