Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001033/0.001033, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.002082/0.002082, allocations: 173 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.015/1.015, allocations: 158.6 MB / 185.9 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1337/0.1337, allocations: 32.38 MB / 270.7 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 348.1 MB, free: 9.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.696e-05, allocations: 6.25 kB / 348.1 MB, free: 9.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.00227/0.002287, allocations: 2.595 MB / 350.7 MB, free: 6.59 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008173/0.003105, allocations: 0.6709 MB / 351.4 MB, free: 5.91 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.003217, allocations: 11.94 kB / 351.4 MB, free: 5.898 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.003338, allocations: 51.45 kB / 351.4 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.003451, allocations: 91.14 kB / 351.5 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.003648, allocations: 83.81 kB / 351.6 MB, free: 5.676 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.003852, allocations: 346.3 kB / 351.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.003966, allocations: 50.14 kB / 352 MB, free: 5.293 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.004118, allocations: 199.5 kB / 352.2 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.897e-05/0.004217, allocations: 99.69 kB / 352.3 MB, free: 5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/0.00425, allocations: 20 kB / 352.3 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.998e-05/0.00428, allocations: 24 kB / 352.3 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.709e-05/0.004317, allocations: 59.75 kB / 352.4 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.157e-05/0.004369, allocations: 91.75 kB / 352.5 MB, free: 4.809 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.004536, allocations: 215.1 kB / 352.7 MB, free: 4.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.004539, allocations: 4 kB / 352.7 MB, free: 4.594 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.00454, allocations: 0 / 352.7 MB, free: 4.594 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.004543, allocations: 0 / 352.7 MB, free: 4.594 MB / 282.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.000442/0.004985, allocations: 0.6128 MB / 353.3 MB, free: 3.945 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.005017, allocations: 8.031 kB / 353.3 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.005066, allocations: 56.7 kB / 353.4 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.00521, allocations: 200.1 kB / 353.5 MB, free: 3.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.005223, allocations: 20.88 kB / 353.6 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.005252, allocations: 36.33 kB / 353.6 MB, free: 3.602 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.00544, allocations: 247.4 kB / 353.8 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.005454, allocations: 12.06 kB / 353.9 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.005468, allocations: 8.375 kB / 353.9 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.005475, allocations: 7.938 kB / 353.9 MB, free: 3.301 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.742e-05/0.005572, allocations: 89.72 kB / 354 MB, free: 3.219 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006682/0.00624, allocations: 1.386 MB / 355.3 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.006384, allocations: 204.2 kB / 355.5 MB, free: 1.5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.28e-05/0.006426, allocations: 58.89 kB / 355.6 MB, free: 1.426 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.006445, allocations: 16.11 kB / 355.6 MB, free: 1.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.006461, allocations: 41.38 kB / 355.7 MB, free: 1.359 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.232e-06/0.006462, allocations: 0 / 355.7 MB, free: 1.359 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.0007638/0.007226, allocations: 0.8453 MB / 356.5 MB, free: 400 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.007252, allocations: 136.5 kB / 356.6 MB, free: 232 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.007375, allocations: 280.1 kB / 356.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.007393, allocations: 33.7 kB / 356.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.92e-05/0.007493, allocations: 219.3 kB / 357.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.173e-05/0.007554, allocations: 126.9 kB / 357.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.129e-05/0.007626, allocations: 79.72 kB / 357.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.007754, allocations: 0.5195 MB / 357.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.823e-05/0.007802, allocations: 36.97 kB / 357.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.007941, allocations: 230.7 kB / 358.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.008167, allocations: 301.8 kB / 358.4 MB, free: 14.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.008169, allocations: 0 / 358.4 MB, free: 14.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002771/0.008447, allocations: 277.4 kB / 358.7 MB, free: 13.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.00846, allocations: 8 kB / 358.7 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.008467, allocations: 8 kB / 358.7 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.00848, allocations: 4 kB / 358.7 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.008661, allocations: 99.77 kB / 358.8 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.00867, allocations: 15.92 kB / 358.8 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.624e-05/0.008756, allocations: 16 kB / 358.9 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.008769, allocations: 12 kB / 358.9 MB, free: 13.77 MB / 298.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 9.074e-05/0.00886, allocations: 184.4 kB / 359 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.179e-05/0.008922, allocations: 39.81 kB / 359.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.318e-05/0.008965, allocations: 37.78 kB / 359.1 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.008968, allocations: 4 kB / 359.1 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.008973, allocations: 7.922 kB / 359.1 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.008976, allocations: 0 / 359.1 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006948/0.009671, allocations: 0.9162 MB / 360.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.009674, allocations: 0 / 360.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.009845, allocations: 75.89 kB / 360.1 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.009848, allocations: 4.062 kB / 360.1 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.009863, allocations: 12 kB / 360.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.009867, allocations: 8.422 kB / 360.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.009869, allocations: 0 / 360.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004412/0.01031, allocations: 0.7387 MB / 360.9 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.72e-05/0.01034, allocations: 27.81 kB / 360.9 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.01036, allocations: 8 kB / 360.9 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.01049, allocations: 15.98 kB / 360.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.01054, allocations: 31.89 kB / 361 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.485e-06/0.01055, allocations: 7.938 kB / 361 MB, free: 11.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.237e-05/0.01062, allocations: 189.1 kB / 361.2 MB, free: 11.38 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01062, allocations: 0 / 361.2 MB, free: 11.38 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002977/0.01092, allocations: 71.94 kB / 361.2 MB, free: 11.31 MB / 298.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 8.157e-05/0.011, allocations: 107.1 kB / 361.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001972/0.0112, allocations: 157.6 kB / 361.5 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.0112, allocations: 0 / 361.5 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.242e-05/0.01128, allocations: 95.81 kB / 361.6 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.01168, allocations: 46.09 kB / 361.6 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009356/0.01262, allocations: 0.7307 MB / 362.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.107e-05/0.01269, allocations: 96.91 kB / 362.5 MB, free: 10 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.982e-05/0.01277, allocations: 30.95 kB / 362.5 MB, free: 9.973 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.01289, allocations: 122.2 kB / 362.6 MB, free: 9.852 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01289, allocations: 0 / 362.6 MB, free: 9.852 MB / 298.7 MB Notification: Performance of Templates: time 0.004582/0.01747, allocations: 2.601 MB / 365.2 MB, free: 7.285 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1759235742501915]