Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001584/0.001584, allocations: 116.8 kB / 19.17 MB, free: 3.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001923/0.001923, allocations: 214.6 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 230.2 MB / 255.2 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2273/0.2273, allocations: 46.88 MB / 358.1 MB, free: 10.53 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002877/0.002877, allocations: 79.86 kB / 0.4923 GB, free: 8.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1452, allocations: 65.99 MB / 0.5568 GB, free: 5.969 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003982/0.1491, allocations: 2.64 MB / 0.5594 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.1505, allocations: 0.7323 MB / 0.5601 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.1506, allocations: 7.938 kB / 0.5601 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.1508, allocations: 43.52 kB / 0.5601 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.1509, allocations: 91.2 kB / 0.5602 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.1512, allocations: 103.8 kB / 0.5603 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003766/0.1516, allocations: 330.6 kB / 0.5606 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.1518, allocations: 65.92 kB / 0.5607 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002281/0.152, allocations: 135.5 kB / 0.5608 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.1522, allocations: 135.3 kB / 0.5609 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.84e-05/0.1522, allocations: 23.94 kB / 0.561 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.625e-05/0.1523, allocations: 24 kB / 0.561 GB, free: 1.617 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.305e-05/0.1523, allocations: 59.83 kB / 0.561 GB, free: 1.559 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.1525, allocations: 143.2 kB / 0.5612 GB, free: 1.418 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003919/0.1529, allocations: 306.6 kB / 0.5615 GB, free: 1.117 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1529, allocations: 4 kB / 0.5615 GB, free: 1.113 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1529, allocations: 0 / 0.5615 GB, free: 1.113 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.1529, allocations: 4 kB / 0.5615 GB, free: 1.109 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009492/0.1538, allocations: 0.5998 MB / 0.5621 GB, free: 472 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1539, allocations: 12.03 kB / 0.5621 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002416/0.1541, allocations: 52.73 kB / 0.5621 GB, free: 408 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.1545, allocations: 288.8 kB / 0.5624 GB, free: 80 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.1545, allocations: 12.94 kB / 0.5624 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.152e-05/0.1546, allocations: 32.33 kB / 0.5625 GB, free: 36 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005314/0.1551, allocations: 282.2 kB / 0.5627 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.1552, allocations: 7.953 kB / 0.5627 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.1552, allocations: 11.94 kB / 0.5627 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.1552, allocations: 8 kB / 0.5627 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000432/0.1556, allocations: 191.7 kB / 0.5629 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.1573, allocations: 1.302 MB / 0.5642 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004287/0.1578, allocations: 246.5 kB / 0.5644 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.158, allocations: 91.39 kB / 0.5645 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.158, allocations: 4 kB / 0.5645 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.158, allocations: 38.5 kB / 0.5646 GB, free: 13.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=26): time 1.683e-06/0.158, allocations: 0 / 0.5646 GB, free: 13.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=32): time 0.002711/0.1607, allocations: 1.57 MB / 0.5661 GB, free: 11.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.332e-05/0.1608, allocations: 144.5 kB / 0.5662 GB, free: 11.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.161, allocations: 225 kB / 0.5664 GB, free: 11.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.1611, allocations: 37.64 kB / 0.5665 GB, free: 11.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.1612, allocations: 176.5 kB / 0.5667 GB, free: 11.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.837e-05/0.1613, allocations: 127.1 kB / 0.5668 GB, free: 11.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.1614, allocations: 66.14 kB / 0.5668 GB, free: 11.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1616, allocations: 346.7 kB / 0.5672 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.1618, allocations: 100.8 kB / 0.5673 GB, free: 10.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/0.1622, allocations: 237.4 kB / 0.5675 GB, free: 10.35 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006485/0.1628, allocations: 365.1 kB / 0.5678 GB, free: 9.934 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1628, allocations: 0 / 0.5678 GB, free: 9.934 MB / 430.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007933/0.1636, allocations: 401.8 kB / 0.5682 GB, free: 9.535 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.1636, allocations: 12.09 kB / 0.5682 GB, free: 9.523 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.1637, allocations: 4 kB / 0.5682 GB, free: 9.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.1637, allocations: 8 kB / 0.5682 GB, free: 9.512 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003923/0.1641, allocations: 103.8 kB / 0.5683 GB, free: 9.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.1641, allocations: 7.938 kB / 0.5684 GB, free: 9.402 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.1643, allocations: 27.97 kB / 0.5684 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.1643, allocations: 16 kB / 0.5684 GB, free: 9.359 MB / 430.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.0001666/0.1645, allocations: 153.7 kB / 0.5685 GB, free: 9.199 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.1646, allocations: 31.75 kB / 0.5686 GB, free: 9.168 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.994e-05/0.1647, allocations: 37.94 kB / 0.5686 GB, free: 9.129 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1647, allocations: 4 kB / 0.5686 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.1647, allocations: 3.984 kB / 0.5686 GB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1647, allocations: 4 kB / 0.5686 GB, free: 9.117 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.1662, allocations: 0.9821 MB / 0.5696 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.1662, allocations: 4 kB / 0.5696 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003673/0.1666, allocations: 79.95 kB / 0.5697 GB, free: 7.988 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.1666, allocations: 8.062 kB / 0.5697 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.1666, allocations: 15.92 kB / 0.5697 GB, free: 7.965 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1666, allocations: 0 / 0.5697 GB, free: 7.965 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1666, allocations: 4.078 kB / 0.5697 GB, free: 7.961 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.1677, allocations: 0.7253 MB / 0.5704 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.007e-05/0.1678, allocations: 104.9 kB / 0.5705 GB, free: 7.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.1678, allocations: 19.94 kB / 0.5705 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002902/0.1681, allocations: 23.98 kB / 0.5705 GB, free: 7.047 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.635e-05/0.1682, allocations: 27.89 kB / 0.5706 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.1682, allocations: 8 kB / 0.5706 GB, free: 7.012 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.1684, allocations: 164.5 kB / 0.5707 GB, free: 6.848 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1684, allocations: 0 / 0.5707 GB, free: 6.848 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004785/0.1688, allocations: 64 kB / 0.5708 GB, free: 6.785 MB / 430.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.0001369/0.169, allocations: 111.2 kB / 0.5709 GB, free: 6.668 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006656/0.1696, allocations: 264.3 kB / 0.5711 GB, free: 6.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1696, allocations: 0 / 0.5711 GB, free: 6.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002906/0.1699, allocations: 131.8 kB / 0.5713 GB, free: 6.281 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006565/0.1706, allocations: 46.83 kB / 0.5713 GB, free: 6.238 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.1721, allocations: 0.9118 MB / 0.5722 GB, free: 5.281 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.1725, allocations: 0.7681 MB / 0.573 GB, free: 4.484 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.1726, allocations: 35.42 kB / 0.573 GB, free: 4.449 MB / 430.1 MB Notification: Performance of SimCode: time 4e-07/0.1726, allocations: 0 / 0.573 GB, free: 4.449 MB / 430.1 MB Notification: Performance of Templates: time 0.005718/0.1783, allocations: 3.397 MB / 0.5763 GB, free: 1.059 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.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: 7.564978127134964]