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.00127/0.00127, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001292/0.001292, allocations: 169 kB / 24.24 MB, free: 312 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 0.8792/0.8792, allocations: 158.6 MB / 186 MB, free: 2.91 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.1375/0.1375, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.462e-06/1.462e-06, allocations: 0 / 347.6 MB, free: 9.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/2.009e-05, allocations: 8.281 kB / 347.6 MB, free: 9.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.006757/0.006777, allocations: 2.622 MB / 350.3 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007803/0.007557, allocations: 0.6709 MB / 350.9 MB, free: 6.496 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.007676, allocations: 11.94 kB / 350.9 MB, free: 6.484 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.00781, allocations: 43.52 kB / 351 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.00794, allocations: 95.08 kB / 351.1 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.008143, allocations: 87.81 kB / 351.2 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002439/0.008387, allocations: 346.3 kB / 351.5 MB, free: 5.922 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.008518, allocations: 54.14 kB / 351.6 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.008687, allocations: 191.5 kB / 351.7 MB, free: 5.688 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003118/0.0118, allocations: 99.69 kB / 351.8 MB, free: 5.59 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.01184, allocations: 20 kB / 351.9 MB, free: 5.57 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.717e-05/0.01187, allocations: 24 kB / 351.9 MB, free: 5.547 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.495e-05/0.0119, allocations: 59.75 kB / 351.9 MB, free: 5.488 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.032e-05/0.01197, allocations: 99.75 kB / 352 MB, free: 5.391 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.01218, allocations: 207.2 kB / 352.2 MB, free: 5.188 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.01218, allocations: 4 kB / 352.2 MB, free: 5.184 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.01218, allocations: 0 / 352.2 MB, free: 5.184 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.01218, allocations: 0 / 352.2 MB, free: 5.184 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.0005568/0.01274, allocations: 0.605 MB / 352.8 MB, free: 4.543 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.01277, allocations: 8.031 kB / 352.9 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.92e-05/0.01284, allocations: 60.7 kB / 352.9 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.01304, allocations: 200.2 kB / 353.1 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.01306, allocations: 20.88 kB / 353.1 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.717e-05/0.01309, allocations: 32.27 kB / 353.2 MB, free: 4.199 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.01337, allocations: 259.4 kB / 353.4 MB, free: 3.914 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.01338, allocations: 8.141 kB / 353.4 MB, free: 3.906 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.0134, allocations: 12.38 kB / 353.4 MB, free: 3.895 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.01341, allocations: 7.938 kB / 353.4 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.01357, allocations: 110 kB / 353.5 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008422/0.01441, allocations: 1.413 MB / 355 MB, free: 2.277 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.01461, allocations: 216.3 kB / 355.2 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003079/0.01769, allocations: 66.73 kB / 355.2 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.01771, allocations: 12 kB / 355.2 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.01773, allocations: 45.52 kB / 355.3 MB, free: 1.867 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.503e-06/0.01773, allocations: 0 / 355.3 MB, free: 1.867 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.001102/0.01883, allocations: 1.008 MB / 356.3 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.01886, allocations: 132.5 kB / 356.4 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.01899, allocations: 280.2 kB / 356.7 MB, free: 288 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.019, allocations: 33.7 kB / 356.7 MB, free: 248 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.878e-05/0.01906, allocations: 223.3 kB / 357 MB, free: 16 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.585e-05/0.01914, allocations: 127.1 kB / 357.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.884e-05/0.01922, allocations: 67.86 kB / 357.1 MB, free: 15.81 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.01935, allocations: 0.5118 MB / 357.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.112e-05/0.01944, allocations: 40.97 kB / 357.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.01962, allocations: 242.6 kB / 357.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003008/0.01992, allocations: 317.8 kB / 358.2 MB, free: 14.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.01993, allocations: 4 kB / 358.2 MB, free: 14.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003975/0.02032, allocations: 301.2 kB / 358.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.02034, allocations: 8 kB / 358.6 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.02035, allocations: 4 kB / 358.6 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.02036, allocations: 7.75 kB / 358.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003257/0.02362, allocations: 100.1 kB / 358.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.02363, allocations: 11.94 kB / 358.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.02376, allocations: 28.36 kB / 358.7 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.02378, allocations: 19.98 kB / 358.7 MB, free: 14.06 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 0.0001038/0.02388, allocations: 184.4 kB / 358.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.324e-05/0.02398, allocations: 35.86 kB / 358.9 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.22e-05/0.02403, allocations: 41.7 kB / 359 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.02403, allocations: 4 kB / 359 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.02404, allocations: 0 / 359 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.02404, allocations: 0 / 359 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008764/0.02492, allocations: 0.9703 MB / 359.9 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.02492, allocations: 7.984 kB / 360 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.02515, allocations: 71.91 kB / 360 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.02516, allocations: 3.984 kB / 360 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.02517, allocations: 8 kB / 360 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.02518, allocations: 4 kB / 360 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.02518, allocations: 0 / 360 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00053/0.02571, allocations: 0.7583 MB / 360.8 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.757e-05/0.02574, allocations: 27.81 kB / 360.8 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.02577, allocations: 12.05 kB / 360.8 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.02597, allocations: 12 kB / 360.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.02603, allocations: 35.89 kB / 360.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.02605, allocations: 7.984 kB / 360.9 MB, free: 11.78 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001005/0.02615, allocations: 193.1 kB / 361.1 MB, free: 11.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02615, allocations: 0 / 361.1 MB, free: 11.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004303/0.02658, allocations: 68 kB / 361.1 MB, free: 11.53 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.012e-05/0.02666, allocations: 103.2 kB / 361.2 MB, free: 11.42 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003369/0.02699, allocations: 180.3 kB / 361.4 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.02699, allocations: 0 / 361.4 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.02711, allocations: 96.02 kB / 361.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005458/0.02766, allocations: 46.16 kB / 361.6 MB, free: 11.1 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.02872, allocations: 0.7506 MB / 362.3 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.762e-05/0.0288, allocations: 92.92 kB / 362.4 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.828e-05/0.0289, allocations: 34.95 kB / 362.4 MB, free: 10.15 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.324e-05/0.02896, allocations: 32.48 kB / 362.5 MB, free: 10.12 MB / 298.7 MB Notification: Performance of SimCode: time 7.72e-07/0.02896, allocations: 0 / 362.5 MB, free: 10.12 MB / 298.7 MB Notification: Performance of Templates: time 0.004924/0.03389, allocations: 2.405 MB / 364.9 MB, free: 7.742 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.2478823950514197]