Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.000809/0.000809, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003299/0.003299, allocations: 160.2 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8457/0.8457, allocations: 177.2 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2594/0.2594, allocations: 32.79 MB / 294.2 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 440.8 MB, free: 3.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.257e-05, allocations: 2.281 kB / 440.8 MB, free: 3.766 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.002316/0.002339, allocations: 2.488 MB / 443.3 MB, free: 1.262 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008117/0.003151, allocations: 0.6933 MB / 444 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.003263, allocations: 7.938 kB / 444 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.003387, allocations: 43.52 kB / 444 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.003501, allocations: 99.08 kB / 444.1 MB, free: 424 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.003739, allocations: 99.84 kB / 444.2 MB, free: 324 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1535/0.1573, allocations: 349.7 kB / 444.6 MB, free: 43.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.1575, allocations: 55.91 kB / 444.6 MB, free: 43.81 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003008/0.1578, allocations: 190.4 kB / 444.8 MB, free: 43.81 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.885e-05/0.1579, allocations: 98.05 kB / 444.9 MB, free: 43.81 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.1579, allocations: 23.53 kB / 444.9 MB, free: 43.81 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.588e-05/0.1579, allocations: 26.59 kB / 445 MB, free: 43.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.956e-05/0.158, allocations: 58.36 kB / 445 MB, free: 43.81 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.456e-05/0.158, allocations: 98.78 kB / 445.1 MB, free: 43.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.1583, allocations: 307.3 kB / 445.4 MB, free: 43.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1583, allocations: 5 kB / 445.4 MB, free: 43.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1583, allocations: 0 / 445.4 MB, free: 43.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1583, allocations: 0 / 445.4 MB, free: 43.8 MB / 410.7 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.0005008/0.1588, allocations: 0.5231 MB / 445.9 MB, free: 43.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.1588, allocations: 11.12 kB / 446 MB, free: 43.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.159, allocations: 54.44 kB / 446 MB, free: 43.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.1592, allocations: 211.2 kB / 446.2 MB, free: 43.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1592, allocations: 21.28 kB / 446.2 MB, free: 43.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.1593, allocations: 32.45 kB / 446.3 MB, free: 43.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.1595, allocations: 275.8 kB / 446.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.1595, allocations: 3 kB / 446.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.1595, allocations: 13.09 kB / 446.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1595, allocations: 16.31 kB / 446.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002171/0.1598, allocations: 192.5 kB / 446.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007258/0.1605, allocations: 1.155 MB / 447.9 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.1607, allocations: 233 kB / 448.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.67e-05/0.1608, allocations: 92.23 kB / 448.2 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.1608, allocations: 5.875 kB / 448.2 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.1608, allocations: 40.91 kB / 448.3 MB, free: 42.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.312e-06/0.1608, allocations: 0 / 448.3 MB, free: 42.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.001194/0.162, allocations: 1.207 MB / 449.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.1621, allocations: 137.5 kB / 449.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.1622, allocations: 233.3 kB / 449.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.1622, allocations: 38.2 kB / 449.9 MB, free: 41.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.1622, allocations: 181.4 kB / 450.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.1623, allocations: 115.9 kB / 450.2 MB, free: 41.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.354e-05/0.1623, allocations: 73.12 kB / 450.2 MB, free: 41.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.39e-05/0.1624, allocations: 338.4 kB / 450.6 MB, free: 40.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.1625, allocations: 97.72 kB / 450.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.1626, allocations: 239.5 kB / 450.9 MB, free: 40.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002998/0.1629, allocations: 367.1 kB / 451.3 MB, free: 40.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1629, allocations: 2.297 kB / 451.3 MB, free: 40.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003755/0.1633, allocations: 393.9 kB / 451.7 MB, free: 40.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1633, allocations: 8.531 kB / 451.7 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.1633, allocations: 2.812 kB / 451.7 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1633, allocations: 12.56 kB / 451.7 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.1635, allocations: 104.2 kB / 451.8 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.1635, allocations: 16.55 kB / 451.8 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.636e-05/0.1636, allocations: 22.7 kB / 451.8 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.1637, allocations: 21.8 kB / 451.8 MB, free: 40.08 MB / 410.7 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 7.331e-05/0.1637, allocations: 145.3 kB / 452 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.025e-05/0.1638, allocations: 30.38 kB / 452 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.493e-05/0.1638, allocations: 38.47 kB / 452 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1638, allocations: 9.781 kB / 452.1 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1638, allocations: 0 / 452.1 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1638, allocations: 10.09 kB / 452.1 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000668/0.1645, allocations: 0.888 MB / 453 MB, free: 39.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1645, allocations: 0 / 453 MB, free: 39.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.1647, allocations: 83.03 kB / 453 MB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1647, allocations: 2.5 kB / 453 MB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.1647, allocations: 8.734 kB / 453 MB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1647, allocations: 2.781 kB / 453 MB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1647, allocations: 2.531 kB / 453.1 MB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004581/0.1651, allocations: 0.737 MB / 453.8 MB, free: 38.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.817e-05/0.1652, allocations: 20.77 kB / 453.8 MB, free: 38.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.1652, allocations: 12.69 kB / 453.8 MB, free: 38.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.1653, allocations: 17.81 kB / 453.8 MB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.1654, allocations: 32.64 kB / 453.9 MB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/0.1654, allocations: 12.25 kB / 453.9 MB, free: 38.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.999e-05/0.1654, allocations: 160.3 kB / 454 MB, free: 38.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1654, allocations: 0.9375 kB / 454 MB, free: 38.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002864/0.1657, allocations: 72.62 kB / 454.1 MB, free: 38.65 MB / 410.7 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 6.709e-05/0.1658, allocations: 108.1 kB / 454.2 MB, free: 38.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003103/0.1661, allocations: 268.6 kB / 454.5 MB, free: 38.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.1661, allocations: 3.938 kB / 454.5 MB, free: 38.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.1662, allocations: 120.7 kB / 454.6 MB, free: 38.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.1666, allocations: 41.75 kB / 454.6 MB, free: 38.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006627/0.1673, allocations: 0.7689 MB / 455.4 MB, free: 37.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.202e-05/0.1674, allocations: 164.9 kB / 455.6 MB, free: 37.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.004e-05/0.1674, allocations: 30.58 kB / 455.6 MB, free: 37.8 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1674, allocations: 0 / 455.6 MB, free: 37.8 MB / 410.7 MB Notification: Performance of Templates: time 0.002856/0.1703, allocations: 3.547 MB / 459.1 MB, free: 37.44 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.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: 4.688893134705722]