Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00205/0.00205, allocations: 123.4 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002527/0.002527, allocations: 208.2 kB / 20.75 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.7/1.7, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2346/0.2346, allocations: 46.93 MB / 357.1 MB, free: 10.3 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002298, allocations: 67.91 kB / 0.4914 GB, free: 7.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1635, allocations: 65.99 MB / 0.5558 GB, free: 5.363 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.005367/0.1688, allocations: 2.636 MB / 0.5584 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.1708, allocations: 0.7283 MB / 0.5591 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003034/0.1711, allocations: 7.938 kB / 0.5591 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002215/0.1713, allocations: 47.52 kB / 0.5592 GB, free: 1.922 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000267/0.1716, allocations: 95.19 kB / 0.5593 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004098/0.172, allocations: 103.8 kB / 0.5594 GB, free: 1.727 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004339/0.1724, allocations: 330.5 kB / 0.5597 GB, free: 1.402 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002856/0.1727, allocations: 69.92 kB / 0.5597 GB, free: 1.324 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002866/0.173, allocations: 143.4 kB / 0.5599 GB, free: 1.184 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.1732, allocations: 131.4 kB / 0.56 GB, free: 1.055 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.175e-05/0.1733, allocations: 24 kB / 0.56 GB, free: 1.031 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.793e-05/0.1734, allocations: 31.94 kB / 0.5601 GB, free: 1 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.663e-05/0.1734, allocations: 51.83 kB / 0.5601 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.1736, allocations: 147.2 kB / 0.5602 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004452/0.174, allocations: 310.6 kB / 0.5605 GB, free: 0.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.174, allocations: 0 / 0.5605 GB, free: 0.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.174, allocations: 0 / 0.5605 GB, free: 0.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.1741, allocations: 0 / 0.5605 GB, free: 0.5 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.001097/0.1751, allocations: 0.6038 MB / 0.5611 GB, free: 15.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.1752, allocations: 8.031 kB / 0.5611 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002911/0.1755, allocations: 48.73 kB / 0.5612 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004844/0.176, allocations: 280.9 kB / 0.5615 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.319e-05/0.176, allocations: 24.92 kB / 0.5615 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.159e-05/0.1761, allocations: 28.33 kB / 0.5615 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005755/0.1766, allocations: 278.2 kB / 0.5618 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/0.1767, allocations: 7.953 kB / 0.5618 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.1767, allocations: 12 kB / 0.5618 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.1767, allocations: 15.92 kB / 0.5618 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004657/0.1772, allocations: 193.8 kB / 0.562 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.1791, allocations: 1.298 MB / 0.5633 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004786/0.1796, allocations: 242.5 kB / 0.5635 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002306/0.1798, allocations: 99.39 kB / 0.5636 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.1798, allocations: 0 / 0.5636 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.1799, allocations: 42.5 kB / 0.5636 GB, free: 13.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=26): time 1.122e-06/0.1799, allocations: 0 / 0.5636 GB, free: 13.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=32): time 0.003102/0.183, allocations: 1.581 MB / 0.5652 GB, free: 11.29 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.1831, allocations: 132.5 kB / 0.5653 GB, free: 11.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.1833, allocations: 225 kB / 0.5655 GB, free: 10.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.1834, allocations: 33.7 kB / 0.5655 GB, free: 10.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.1835, allocations: 184.5 kB / 0.5657 GB, free: 10.67 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.1836, allocations: 123 kB / 0.5658 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.1838, allocations: 70.12 kB / 0.5659 GB, free: 10.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1839, allocations: 334.8 kB / 0.5662 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/0.1842, allocations: 100.8 kB / 0.5663 GB, free: 10.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/0.1846, allocations: 245.4 kB / 0.5665 GB, free: 9.742 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006908/0.1853, allocations: 365.4 kB / 0.5669 GB, free: 9.324 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.1853, allocations: 0 / 0.5669 GB, free: 9.324 MB / 430.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008434/0.1861, allocations: 397.5 kB / 0.5673 GB, free: 8.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.1861, allocations: 8 kB / 0.5673 GB, free: 8.922 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.1862, allocations: 8 kB / 0.5673 GB, free: 8.914 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.1862, allocations: 8 kB / 0.5673 GB, free: 8.906 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/0.1866, allocations: 99.81 kB / 0.5674 GB, free: 8.809 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.69e-05/0.1866, allocations: 12.31 kB / 0.5674 GB, free: 8.797 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.1868, allocations: 32.06 kB / 0.5674 GB, free: 8.766 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.762e-05/0.1869, allocations: 19.94 kB / 0.5675 GB, free: 8.746 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.0001906/0.1871, allocations: 149.7 kB / 0.5676 GB, free: 8.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.1872, allocations: 31.75 kB / 0.5676 GB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.1873, allocations: 37.7 kB / 0.5677 GB, free: 8.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.1873, allocations: 4 kB / 0.5677 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.1873, allocations: 0 / 0.5677 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.1873, allocations: 8 kB / 0.5677 GB, free: 8.508 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.189, allocations: 0.9817 MB / 0.5686 GB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.189, allocations: 0 / 0.5686 GB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003821/0.1894, allocations: 79.89 kB / 0.5687 GB, free: 7.383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.1894, allocations: 4 kB / 0.5687 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.748e-05/0.1895, allocations: 15.92 kB / 0.5687 GB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1895, allocations: 0 / 0.5687 GB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.1895, allocations: 4 kB / 0.5687 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.1907, allocations: 0.737 MB / 0.5695 GB, free: 6.598 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.752e-05/0.1908, allocations: 100.9 kB / 0.5696 GB, free: 6.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.463e-05/0.1908, allocations: 12.23 kB / 0.5696 GB, free: 6.469 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002933/0.1911, allocations: 19.92 kB / 0.5696 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002084/0.1913, allocations: 27.91 kB / 0.5696 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.1914, allocations: 16.22 kB / 0.5696 GB, free: 6.406 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001617/0.1915, allocations: 168.5 kB / 0.5698 GB, free: 6.242 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1915, allocations: 0 / 0.5698 GB, free: 6.242 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004883/0.192, allocations: 64 kB / 0.5698 GB, free: 6.18 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.0001398/0.1921, allocations: 104 kB / 0.5699 GB, free: 6.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007187/0.1929, allocations: 272.4 kB / 0.5702 GB, free: 5.805 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1929, allocations: 0 / 0.5702 GB, free: 5.805 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003131/0.1932, allocations: 131.7 kB / 0.5703 GB, free: 5.676 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006721/0.1938, allocations: 46.61 kB / 0.5704 GB, free: 5.633 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.1956, allocations: 0.8828 MB / 0.5712 GB, free: 4.711 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/0.1961, allocations: 0.7681 MB / 0.572 GB, free: 3.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001467/0.1962, allocations: 34.95 kB / 0.572 GB, free: 3.871 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.1964, allocations: 27.42 kB / 0.572 GB, free: 3.844 MB / 430.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1964, allocations: 0 / 0.572 GB, free: 3.844 MB / 430.1 MB Notification: Performance of Templates: time 0.007063/0.2034, allocations: 2.505 MB / 0.5745 GB, free: 1.352 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 5.438376896083355]