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.000772/0.000772, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000992/0.001764, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0006843/0.0006843, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008377/0.001522, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.853/0.853, allocations: 158.6 MB / 171 MB, free: 2.172 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1811/1.034, allocations: 49.5 MB / 220.5 MB, free: 5.27 MB / 218.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.1317/0.1317, allocations: 32.36 MB / 253.6 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01812/0.1499, allocations: 12.29 MB / 265.9 MB, free: 7.824 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.163e-06/1.163e-06, allocations: 0 / 267.2 MB, free: 6.562 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184e-05/1.301e-05, allocations: 6.25 kB / 267.2 MB, free: 6.555 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.002498/0.002511, allocations: 2.646 MB / 269.8 MB, free: 3.883 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008784/0.003389, allocations: 0.7057 MB / 270.5 MB, free: 3.168 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.003499, allocations: 7.938 kB / 270.6 MB, free: 3.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.584e-05/0.003585, allocations: 43.52 kB / 270.6 MB, free: 3.117 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.00371, allocations: 95.2 kB / 270.7 MB, free: 3.023 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001417/0.003851, allocations: 87.75 kB / 270.8 MB, free: 2.938 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.004106, allocations: 346.4 kB / 271.1 MB, free: 2.598 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.00422, allocations: 56.11 kB / 271.2 MB, free: 2.547 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.004425, allocations: 220.1 kB / 271.4 MB, free: 2.332 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.004539, allocations: 95.7 kB / 271.5 MB, free: 2.238 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.004571, allocations: 24 kB / 271.5 MB, free: 2.215 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.716e-05/0.004598, allocations: 24 kB / 271.5 MB, free: 2.191 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.184e-05/0.00463, allocations: 43.81 kB / 271.6 MB, free: 2.148 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.439e-05/0.004694, allocations: 79.81 kB / 271.6 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.004887, allocations: 195.2 kB / 271.8 MB, free: 1.879 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/0.004898, allocations: 0 / 271.8 MB, free: 1.879 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004898, allocations: 0 / 271.8 MB, free: 1.879 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.00491, allocations: 0 / 271.8 MB, free: 1.879 MB / 266.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.0005572/0.005467, allocations: 0.5463 MB / 272.4 MB, free: 1.309 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.811e-05/0.005495, allocations: 8.031 kB / 272.4 MB, free: 1.301 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.005545, allocations: 40.91 kB / 272.4 MB, free: 1.262 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.005725, allocations: 193.2 kB / 272.6 MB, free: 1.047 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.005743, allocations: 20.88 kB / 272.6 MB, free: 1.023 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.627e-05/0.00578, allocations: 28.33 kB / 272.7 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005032/0.006283, allocations: 230.3 kB / 272.9 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.006297, allocations: 8.172 kB / 272.9 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.006314, allocations: 20.36 kB / 272.9 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.006321, allocations: 7.938 kB / 272.9 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.006421, allocations: 79.81 kB / 273 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007826/0.007203, allocations: 1.006 MB / 274 MB, free: 15.56 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.007356, allocations: 170.2 kB / 274.2 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.79e-05/0.007404, allocations: 55.73 kB / 274.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.007421, allocations: 7.938 kB / 274.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.007441, allocations: 38.56 kB / 274.3 MB, free: 15.23 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.352e-06/0.007443, allocations: 3.938 kB / 274.3 MB, free: 15.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008941/0.008337, allocations: 0.8128 MB / 275.1 MB, free: 14.3 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.008393, allocations: 144.4 kB / 275.2 MB, free: 14.13 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.008513, allocations: 213 kB / 275.4 MB, free: 13.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.008528, allocations: 33.7 kB / 275.5 MB, free: 13.87 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.309e-05/0.008591, allocations: 160.5 kB / 275.6 MB, free: 13.71 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.101e-05/0.008652, allocations: 130.9 kB / 275.8 MB, free: 13.58 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.756e-05/0.00871, allocations: 62.17 kB / 275.8 MB, free: 13.52 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.286e-05/0.008803, allocations: 354.7 kB / 276.2 MB, free: 13.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.822e-05/0.008841, allocations: 28.98 kB / 276.2 MB, free: 13.13 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.752e-05/0.008938, allocations: 166.4 kB / 276.4 MB, free: 12.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.009111, allocations: 249 kB / 276.6 MB, free: 12.61 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.009114, allocations: 4 kB / 276.6 MB, free: 12.6 MB / 282.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002154/0.009329, allocations: 233.4 kB / 276.8 MB, free: 12.37 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.009348, allocations: 8 kB / 276.8 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.009355, allocations: 7.938 kB / 276.8 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.009369, allocations: 8 kB / 276.9 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.009565, allocations: 103.9 kB / 277 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.009573, allocations: 15.88 kB / 277 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.499e-05/0.009658, allocations: 27.94 kB / 277 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.009672, allocations: 12 kB / 277 MB, free: 12.19 MB / 282.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.934e-05/0.009752, allocations: 129.7 kB / 277.1 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.579e-05/0.009808, allocations: 36 kB / 277.2 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.862e-05/0.009846, allocations: 37.7 kB / 277.2 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.00985, allocations: 4 kB / 277.2 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.009855, allocations: 7.938 kB / 277.2 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.009859, allocations: 0 / 277.2 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005702/0.01043, allocations: 0.6501 MB / 277.9 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.01043, allocations: 0 / 277.9 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.01062, allocations: 87.95 kB / 278 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.611e-05/0.01064, allocations: 31.8 kB / 278 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.01065, allocations: 4 kB / 278 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.01066, allocations: 8 kB / 278 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.01066, allocations: 4 kB / 278 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.01067, allocations: 240 / 278 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.01095, allocations: 0.5183 MB / 278.5 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.01097, allocations: 12 kB / 278.5 MB, free: 10.6 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.01109, allocations: 19.97 kB / 278.6 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.01114, allocations: 28.14 kB / 278.6 MB, free: 10.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.01115, allocations: 15.94 kB / 278.6 MB, free: 10.54 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.584e-05/0.0112, allocations: 74.77 kB / 278.7 MB, free: 10.46 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0112, allocations: 0 / 278.7 MB, free: 10.46 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002805/0.01148, allocations: 68 kB / 278.7 MB, free: 10.4 MB / 282.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 7.989e-05/0.01156, allocations: 93 kB / 278.8 MB, free: 10.3 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.01175, allocations: 158.3 kB / 279 MB, free: 10.14 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/0.01176, allocations: 7.938 kB / 279 MB, free: 10.13 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.378e-05/0.01183, allocations: 76.64 kB / 279.1 MB, free: 10.05 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.01219, allocations: 73.5 kB / 279.1 MB, free: 9.984 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002679/0.01487, allocations: 0.6096 MB / 279.7 MB, free: 9.332 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.536e-05/0.01494, allocations: 100.9 kB / 279.8 MB, free: 9.215 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.982e-05/0.01502, allocations: 31.42 kB / 279.9 MB, free: 9.188 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.01512, allocations: 95.3 kB / 280 MB, free: 9.094 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01512, allocations: 0 / 280 MB, free: 9.094 MB / 282.7 MB Notification: Performance of Templates: time 0.00425/0.01937, allocations: 2.521 MB / 282.5 MB, free: 6.566 MB / 282.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 -ignoreHideResult -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: 2.682390126399696]