Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001371/0.001371, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001501/0.001501, allocations: 168.8 kB / 24.91 MB, free: 9.199 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.9586/0.9586, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2852/0.2852, allocations: 34.26 MB / 296.1 MB, free: 0.7305 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 325.2 MB, free: 7.746 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.213e-05, allocations: 3.016 kB / 325.2 MB, free: 7.742 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003124/0.003146, allocations: 2.63 MB / 327.8 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.004558, allocations: 0.7297 MB / 328.6 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.004734, allocations: 7.938 kB / 328.6 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.004891, allocations: 43.52 kB / 328.6 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.005066, allocations: 91.14 kB / 328.7 MB, free: 4.223 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003411/0.005407, allocations: 107.7 kB / 328.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003549/0.005762, allocations: 358.8 kB / 329.2 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.005905, allocations: 64.02 kB / 329.2 MB, free: 3.703 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003013/0.006206, allocations: 191.6 kB / 329.4 MB, free: 3.516 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.006341, allocations: 103.7 kB / 329.5 MB, free: 3.414 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.006373, allocations: 20 kB / 329.5 MB, free: 3.395 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.756e-05/0.00643, allocations: 24 kB / 329.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.825e-05/0.006469, allocations: 55.75 kB / 329.6 MB, free: 3.316 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.803e-05/0.006547, allocations: 99.75 kB / 329.7 MB, free: 3.219 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.006805, allocations: 219.1 kB / 329.9 MB, free: 3.004 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.006808, allocations: 0 / 329.9 MB, free: 3.004 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.006809, allocations: 4 kB / 329.9 MB, free: 3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.006815, allocations: 0 / 329.9 MB, free: 3 MB / 298.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.0005657/0.007381, allocations: 0.4933 MB / 330.4 MB, free: 2.484 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.007417, allocations: 8.031 kB / 330.4 MB, free: 2.477 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.007585, allocations: 56.89 kB / 330.5 MB, free: 2.422 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.007812, allocations: 205.2 kB / 330.7 MB, free: 2.195 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.007832, allocations: 16.88 kB / 330.7 MB, free: 2.176 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.558e-05/0.007877, allocations: 32.33 kB / 330.7 MB, free: 2.145 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.008111, allocations: 234.3 kB / 331 MB, free: 1.891 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.008129, allocations: 8.125 kB / 331 MB, free: 1.883 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.008145, allocations: 16.31 kB / 331 MB, free: 1.867 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.008155, allocations: 15.92 kB / 331 MB, free: 1.852 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.79e-05/0.008253, allocations: 83.81 kB / 331.1 MB, free: 1.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.009267, allocations: 0.9981 MB / 332.1 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.009445, allocations: 162.4 kB / 332.2 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.746e-05/0.009493, allocations: 51.55 kB / 332.3 MB, free: 452 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.009511, allocations: 8 kB / 332.3 MB, free: 444 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.009532, allocations: 38.56 kB / 332.3 MB, free: 396 kB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.733e-06/0.009534, allocations: 0 / 332.3 MB, free: 396 kB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009451/0.01048, allocations: 0.8178 MB / 333.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.01053, allocations: 140.4 kB / 333.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.01066, allocations: 224.9 kB / 333.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.01068, allocations: 29.7 kB / 333.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.885e-05/0.01075, allocations: 173 kB / 333.7 MB, free: 14.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.896e-05/0.01081, allocations: 126.9 kB / 333.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-05/0.01087, allocations: 66.17 kB / 333.9 MB, free: 14.65 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.621e-05/0.01096, allocations: 346.7 kB / 334.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.27e-05/0.011, allocations: 28.98 kB / 334.3 MB, free: 14.28 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.0111, allocations: 178.1 kB / 334.4 MB, free: 14.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.01128, allocations: 249.8 kB / 334.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.01129, allocations: 4 kB / 334.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002312/0.01152, allocations: 225 kB / 334.9 MB, free: 13.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.01153, allocations: 8 kB / 334.9 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.01154, allocations: 4.484 kB / 334.9 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.01156, allocations: 15.98 kB / 334.9 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.01173, allocations: 91.89 kB / 335 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.01174, allocations: 15.86 kB / 335 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.428e-05/0.01183, allocations: 19.98 kB / 335 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.01184, allocations: 16.31 kB / 335.1 MB, free: 13.34 MB / 314.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 8.141e-05/0.01192, allocations: 133.7 kB / 335.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.06e-05/0.01198, allocations: 31.91 kB / 335.2 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.943e-05/0.01202, allocations: 33.77 kB / 335.3 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.01202, allocations: 4 kB / 335.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.01203, allocations: 11.94 kB / 335.3 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01203, allocations: 0 / 335.3 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006035/0.01264, allocations: 0.6539 MB / 335.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.01264, allocations: 4 kB / 335.9 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.01281, allocations: 75.89 kB / 336 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.01281, allocations: 0 / 336 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.01282, allocations: 8 kB / 336 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.01283, allocations: 8.062 kB / 336 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.01283, allocations: 0 / 336 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.01316, allocations: 0.5184 MB / 336.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.708e-05/0.01319, allocations: 31.97 kB / 336.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.01321, allocations: 8 kB / 336.6 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.01333, allocations: 12 kB / 336.6 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.01338, allocations: 31.88 kB / 336.6 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.01339, allocations: 11.98 kB / 336.6 MB, free: 11.7 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.947e-05/0.01344, allocations: 70.78 kB / 336.7 MB, free: 11.63 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01344, allocations: 4 kB / 336.7 MB, free: 11.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002824/0.01372, allocations: 68 kB / 336.8 MB, free: 11.56 MB / 314.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.823e-05/0.01381, allocations: 88.23 kB / 336.9 MB, free: 11.46 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.014, allocations: 157.5 kB / 337 MB, free: 11.31 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.01401, allocations: 4.812 kB / 337 MB, free: 11.3 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.827e-05/0.01408, allocations: 76.75 kB / 337.1 MB, free: 11.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.01442, allocations: 55.19 kB / 337.1 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008372/0.01526, allocations: 0.6198 MB / 337.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.603e-05/0.01533, allocations: 96.92 kB / 337.9 MB, free: 10.4 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.307e-05/0.01541, allocations: 35.42 kB / 337.9 MB, free: 10.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.01551, allocations: 103.3 kB / 338 MB, free: 10.26 MB / 314.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01552, allocations: 0 / 338 MB, free: 10.26 MB / 314.7 MB Notification: Performance of Templates: time 0.004685/0.0202, allocations: 2.494 MB / 340.5 MB, free: 7.824 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.950631973799318]