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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 118.2 kB / 18.5 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 190.9 kB / 21.44 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.6 MB / 249.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] 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.2292/0.2292, allocations: 44.92 MB / 349.6 MB, free: 1.77 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=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 0.00198/0.00198, allocations: 72.06 kB / 492.2 MB, free: 29.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1368, allocations: 64.26 MB / 0.5435 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004251/0.1411, allocations: 2.618 MB / 0.546 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1422, allocations: 0.6467 MB / 0.5467 GB, free: 376 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.1423, allocations: 11.88 kB / 0.5467 GB, free: 364 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.1425, allocations: 43.52 kB / 0.5467 GB, free: 320 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.1427, allocations: 91.2 kB / 0.5468 GB, free: 228 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.143, allocations: 83.88 kB / 0.5469 GB, free: 144 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004262/0.1435, allocations: 334.6 kB / 0.5472 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002247/0.1437, allocations: 65.88 kB / 0.5473 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.1439, allocations: 127.5 kB / 0.5474 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.1441, allocations: 135.4 kB / 0.5475 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.281e-05/0.1442, allocations: 20 kB / 0.5475 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.399e-05/0.1442, allocations: 24 kB / 0.5475 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.248e-05/0.1443, allocations: 59.75 kB / 0.5476 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.1444, allocations: 139.2 kB / 0.5477 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003872/0.1448, allocations: 302.7 kB / 0.548 GB, free: 14.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1448, allocations: 0 / 0.548 GB, free: 14.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1448, allocations: 0 / 0.548 GB, free: 14.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1448, allocations: 0 / 0.548 GB, free: 14.95 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.00097/0.1458, allocations: 0.5961 MB / 0.5486 GB, free: 14.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.1458, allocations: 12.03 kB / 0.5486 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.327e-05/0.1459, allocations: 36.69 kB / 0.5487 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004386/0.1463, allocations: 267.8 kB / 0.5489 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.1464, allocations: 20.94 kB / 0.5489 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.1465, allocations: 32.33 kB / 0.549 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005984/0.1471, allocations: 274.2 kB / 0.5492 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.1471, allocations: 4 kB / 0.5492 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.1471, allocations: 16 kB / 0.5492 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.1471, allocations: 4 kB / 0.5492 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004385/0.1476, allocations: 187.7 kB / 0.5494 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001806/0.1494, allocations: 1.31 MB / 0.5507 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004307/0.1498, allocations: 234.6 kB / 0.5509 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.15, allocations: 99.33 kB / 0.551 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.1501, allocations: 8 kB / 0.551 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.1501, allocations: 38.56 kB / 0.5511 GB, free: 11.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.403e-06/0.1501, allocations: 0 / 0.5511 GB, free: 11.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.003041/0.1531, allocations: 1.577 MB / 0.5526 GB, free: 9.773 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.926e-05/0.1532, allocations: 136.5 kB / 0.5527 GB, free: 9.609 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.1534, allocations: 229 kB / 0.553 GB, free: 9.375 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.1535, allocations: 29.7 kB / 0.553 GB, free: 9.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.1536, allocations: 180.5 kB / 0.5532 GB, free: 9.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.06e-05/0.1537, allocations: 123 kB / 0.5533 GB, free: 9.039 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.1538, allocations: 74.08 kB / 0.5533 GB, free: 8.961 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1539, allocations: 338.8 kB / 0.5537 GB, free: 8.621 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/0.1542, allocations: 100.8 kB / 0.5538 GB, free: 8.523 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003556/0.1546, allocations: 237.5 kB / 0.554 GB, free: 8.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006466/0.1552, allocations: 370.7 kB / 0.5543 GB, free: 7.809 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1552, allocations: 0 / 0.5543 GB, free: 7.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008386/0.156, allocations: 404.9 kB / 0.5547 GB, free: 7.406 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.1561, allocations: 10.03 kB / 0.5547 GB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1561, allocations: 4.094 kB / 0.5547 GB, free: 7.395 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1561, allocations: 7.938 kB / 0.5547 GB, free: 7.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003988/0.1565, allocations: 99.81 kB / 0.5548 GB, free: 7.289 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.1565, allocations: 8.344 kB / 0.5549 GB, free: 7.281 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.1567, allocations: 27.98 kB / 0.5549 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.1567, allocations: 23.98 kB / 0.5549 GB, free: 7.23 MB / 414.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.0001505/0.1569, allocations: 153.6 kB / 0.555 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.976e-05/0.157, allocations: 35.75 kB / 0.5551 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.231e-05/0.1571, allocations: 33.94 kB / 0.5551 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1571, allocations: 4 kB / 0.5551 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.467e-06/0.1571, allocations: 7.984 kB / 0.5551 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.1571, allocations: 0 / 0.5551 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.1586, allocations: 0.9778 MB / 0.5561 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.1586, allocations: 4 kB / 0.5561 GB, free: 5.941 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003701/0.159, allocations: 76.31 kB / 0.5562 GB, free: 5.867 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.159, allocations: 4 kB / 0.5562 GB, free: 5.863 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.159, allocations: 11.94 kB / 0.5562 GB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.159, allocations: 8 kB / 0.5562 GB, free: 5.844 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.159, allocations: 3.984 kB / 0.5562 GB, free: 5.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.16, allocations: 0.7253 MB / 0.5569 GB, free: 5.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.1602, allocations: 108.8 kB / 0.557 GB, free: 4.965 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.362e-05/0.1602, allocations: 12 kB / 0.557 GB, free: 4.953 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/0.1605, allocations: 19.98 kB / 0.557 GB, free: 4.934 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/0.1606, allocations: 19.97 kB / 0.557 GB, free: 4.914 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.1606, allocations: 15.98 kB / 0.5571 GB, free: 4.898 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001427/0.1608, allocations: 156.5 kB / 0.5572 GB, free: 4.742 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1608, allocations: 0 / 0.5572 GB, free: 4.742 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004556/0.1612, allocations: 68.19 kB / 0.5573 GB, free: 4.676 MB / 414.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.0001172/0.1613, allocations: 103.2 kB / 0.5574 GB, free: 4.566 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006342/0.162, allocations: 272.1 kB / 0.5576 GB, free: 4.301 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.162, allocations: 0 / 0.5576 GB, free: 4.301 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002913/0.1623, allocations: 123.8 kB / 0.5578 GB, free: 4.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006186/0.1629, allocations: 47.66 kB / 0.5578 GB, free: 4.137 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.1643, allocations: 0.8829 MB / 0.5587 GB, free: 3.215 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.1647, allocations: 0.7796 MB / 0.5594 GB, free: 2.406 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000126/0.1648, allocations: 34.95 kB / 0.5595 GB, free: 2.367 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.672e-05/0.1649, allocations: 23.44 kB / 0.5595 GB, free: 2.344 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1649, allocations: 0 / 0.5595 GB, free: 2.344 MB / 414.1 MB Notification: Performance of Templates: time 0.006404/0.1713, allocations: 2.485 MB / 0.5619 GB, free: 15.87 MB / 430.1 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: 5.302799852564931]