Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.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.001154/0.001154, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004893/0.006047, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.001149/0.001149, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001565/0.002714, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.9132/0.9132, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1826/1.096, allocations: 52.5 MB / 238.5 MB, free: 7.629 MB / 234.7 MB " [Timeout remaining time 179] 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.1342/0.1342, allocations: 32.79 MB / 272 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02048/0.1547, allocations: 12.54 MB / 284.5 MB, free: 9.719 MB / 282.7 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.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking") translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 285.8 MB, free: 8.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.326e-05/1.489e-05, allocations: 5.406 kB / 285.8 MB, free: 8.449 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.003384/0.003399, allocations: 2.768 MB / 288.6 MB, free: 5.672 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.004644, allocations: 0.9656 MB / 289.5 MB, free: 4.699 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.004768, allocations: 7.938 kB / 289.6 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.004879, allocations: 59.38 kB / 289.6 MB, free: 4.633 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.005048, allocations: 107 kB / 289.7 MB, free: 4.527 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.005333, allocations: 147.5 kB / 289.9 MB, free: 4.383 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004805/0.005814, allocations: 394 kB / 290.2 MB, free: 3.996 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.005948, allocations: 55.38 kB / 290.3 MB, free: 3.945 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/0.006193, allocations: 227.5 kB / 290.5 MB, free: 3.723 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.006358, allocations: 111.7 kB / 290.6 MB, free: 3.613 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.765e-05/0.006396, allocations: 27.94 kB / 290.7 MB, free: 3.586 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.006507, allocations: 40 kB / 290.7 MB, free: 3.547 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.392e-05/0.006551, allocations: 47.81 kB / 290.7 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.748e-05/0.006649, allocations: 99.81 kB / 290.8 MB, free: 3.402 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003061/0.006955, allocations: 235.1 kB / 291.1 MB, free: 3.172 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.06e-05/0.006966, allocations: 0 / 291.1 MB, free: 3.172 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.92e-07/0.006966, allocations: 0 / 291.1 MB, free: 3.172 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.006977, allocations: 0 / 291.1 MB, free: 3.172 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.000712/0.007689, allocations: 0.5815 MB / 291.7 MB, free: 2.566 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.007722, allocations: 8.031 kB / 291.7 MB, free: 2.559 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002203/0.007942, allocations: 146 kB / 291.8 MB, free: 2.398 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.008179, allocations: 193.2 kB / 292 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.008201, allocations: 21.03 kB / 292 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.727e-05/0.008248, allocations: 32.38 kB / 292 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.008521, allocations: 247.1 kB / 292.3 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.008542, allocations: 12.12 kB / 292.3 MB, free: 1.855 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.008561, allocations: 11.94 kB / 292.3 MB, free: 1.844 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.008572, allocations: 12 kB / 292.3 MB, free: 1.832 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.008722, allocations: 93.44 kB / 292.4 MB, free: 1.746 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.009848, allocations: 1.021 MB / 293.4 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005164/0.01036, allocations: 196.8 kB / 293.6 MB, free: 436 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.199e-05/0.01042, allocations: 48.3 kB / 293.7 MB, free: 372 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.01043, allocations: 8 kB / 293.7 MB, free: 364 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.01046, allocations: 46.48 kB / 293.7 MB, free: 308 kB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 1.522e-06/0.01046, allocations: 0 / 293.7 MB, free: 308 kB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002861/0.01075, allocations: 145.4 kB / 293.9 MB, free: 156 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.123e-05/0.01082, allocations: 162.2 kB / 294 MB, free: 15.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.01094, allocations: 199.6 kB / 294.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.01096, allocations: 29.7 kB / 294.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.214e-05/0.01104, allocations: 188.3 kB / 294.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.904e-05/0.0111, allocations: 91.31 kB / 294.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.965e-05/0.01117, allocations: 73.62 kB / 294.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.292e-05/0.01126, allocations: 338.8 kB / 294.9 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.189e-05/0.01131, allocations: 23.98 kB / 294.9 MB, free: 14.99 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.01142, allocations: 170.3 kB / 295.1 MB, free: 14.76 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.01165, allocations: 245.6 kB / 295.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.01165, allocations: 0 / 295.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0002631/0.01191, allocations: 217.3 kB / 295.6 MB, free: 14.24 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.01193, allocations: 11.94 kB / 295.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.01194, allocations: 8 kB / 295.6 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.01195, allocations: 8.531 kB / 295.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.01224, allocations: 111.8 kB / 295.7 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.01225, allocations: 8 kB / 295.7 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.01237, allocations: 35.78 kB / 295.7 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.01239, allocations: 8 kB / 295.8 MB, free: 14.05 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (44): * Single equations (assignments): 44 * 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.955e-05/0.01248, allocations: 137.7 kB / 295.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.708e-05/0.01257, allocations: 31.91 kB / 295.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.01267, allocations: 71.14 kB / 296 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.01267, allocations: 4 kB / 296 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.01268, allocations: 0 / 296 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01268, allocations: 4 kB / 296 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003875/0.01307, allocations: 153.7 kB / 296.1 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01307, allocations: 0 / 296.1 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/0.01334, allocations: 90.08 kB / 296.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.598e-05/0.01337, allocations: 23.8 kB / 296.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.01337, allocations: 8.5 kB / 296.3 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.01339, allocations: 11.98 kB / 296.3 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01339, allocations: 0 / 296.3 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.01339, allocations: 0 / 296.3 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.01371, allocations: 0.5599 MB / 296.8 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.01374, allocations: 8 kB / 296.8 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.01396, allocations: 7.984 kB / 296.9 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/0.01399, allocations: 15.97 kB / 296.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.607e-06/0.01399, allocations: 4 kB / 296.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.48e-05/0.01405, allocations: 65.45 kB / 296.9 MB, free: 12.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01405, allocations: 0 / 296.9 MB, free: 12.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004533/0.0145, allocations: 87.72 kB / 297 MB, free: 12.73 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 11 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi,eddyCurrentTorque.phi,inertia5.w,heatCapacitor.T) * 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 (23): * Single equations (assignments): 23 * 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.94e-05/0.01458, allocations: 87.48 kB / 297.1 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001961/0.01478, allocations: 151.3 kB / 297.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.01478, allocations: 0 / 297.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.197e-05/0.01487, allocations: 78.47 kB / 297.3 MB, free: 12.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008213/0.01569, allocations: 0.6693 MB / 298 MB, free: 11.61 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005662/0.02135, allocations: 0.6647 MB / 298.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.88e-05/0.02144, allocations: 100.3 kB / 298.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.828e-05/0.02154, allocations: 35.19 kB / 298.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.02169, allocations: 111.3 kB / 298.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of SimCode: time 8.71e-07/0.02169, allocations: 0 / 298.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of Templates: time 0.006015/0.0277, allocations: 2.97 MB / 301.9 MB, free: 7.758 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestBraking/TestBraking.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6748302839696407]