Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.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.001257/0.001257, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002164/0.003421, allocations: 449.8 kB / 10.44 MB, free: 252 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.001352/0.001352, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001948/0.003299, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 1.016/1.016, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1047/1.12, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.2766/0.2766, allocations: 34.25 MB / 278.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03694/0.3135, allocations: 13.1 MB / 291.5 MB, free: 7.336 MB / 282.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.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking") translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 292.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/1.977e-05, allocations: 6.312 kB / 292.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.003395/0.003414, allocations: 3.093 MB / 295.9 MB, free: 3.113 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.004747, allocations: 1.079 MB / 297 MB, free: 2.031 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.004886, allocations: 15.88 kB / 297 MB, free: 2.016 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.005004, allocations: 63.31 kB / 297.1 MB, free: 1.953 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.005166, allocations: 130.8 kB / 297.2 MB, free: 1.824 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.005473, allocations: 179.4 kB / 297.4 MB, free: 1.648 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003622/0.005835, allocations: 465.6 kB / 297.8 MB, free: 1.191 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.006003, allocations: 80.62 kB / 297.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.006232, allocations: 283.3 kB / 298.2 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.006401, allocations: 123.7 kB / 298.3 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.703e-05/0.006448, allocations: 35.94 kB / 298.3 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.00658, allocations: 47.98 kB / 298.4 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.253e-05/0.006632, allocations: 51.81 kB / 298.4 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.242e-05/0.006725, allocations: 119.8 kB / 298.5 MB, free: 460 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003652/0.00709, allocations: 290.9 kB / 298.8 MB, free: 168 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.726e-05/0.007107, allocations: 0 / 298.8 MB, free: 168 kB / 282.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.007108, allocations: 0 / 298.8 MB, free: 168 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.007125, allocations: 0 / 298.8 MB, free: 168 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0008646/0.007989, allocations: 0.653 MB / 299.5 MB, free: 15.49 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.008031, allocations: 8.031 kB / 299.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003215/0.008352, allocations: 165.9 kB / 299.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.008616, allocations: 217.2 kB / 299.9 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.008646, allocations: 25.38 kB / 299.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.235e-05/0.008698, allocations: 40.33 kB / 299.9 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.009011, allocations: 296.8 kB / 300.2 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.00903, allocations: 4.172 kB / 300.2 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.009055, allocations: 31.86 kB / 300.3 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.009066, allocations: 12 kB / 300.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.009209, allocations: 102.8 kB / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.01039, allocations: 1.219 MB / 301.6 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.01068, allocations: 223.9 kB / 301.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.106e-05/0.01074, allocations: 65.16 kB / 301.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.01077, allocations: 11.92 kB / 301.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.0108, allocations: 42.55 kB / 301.9 MB, free: 12.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.944e-06/0.0108, allocations: 0 / 301.9 MB, free: 12.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.0002928/0.01109, allocations: 161.3 kB / 302.1 MB, free: 12.67 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/0.01116, allocations: 183.9 kB / 302.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.0113, allocations: 237 kB / 302.5 MB, free: 12.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.01132, allocations: 29.83 kB / 302.5 MB, free: 12.17 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.046e-05/0.01141, allocations: 204.2 kB / 302.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.828e-05/0.01148, allocations: 119 kB / 302.8 MB, free: 11.85 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.866e-05/0.01155, allocations: 74.11 kB / 302.9 MB, free: 11.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.01165, allocations: 346.7 kB / 303.2 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.418e-05/0.0117, allocations: 28.98 kB / 303.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.01183, allocations: 206.4 kB / 303.5 MB, free: 11.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.01205, allocations: 297 kB / 303.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.01205, allocations: 0 / 303.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002445/0.01229, allocations: 253.4 kB / 304 MB, free: 10.49 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.01231, allocations: 8 kB / 304 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.01232, allocations: 4 kB / 304 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.01234, allocations: 11.94 kB / 304 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.01262, allocations: 130.8 kB / 304.2 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.01263, allocations: 15.92 kB / 304.2 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.01273, allocations: 39.98 kB / 304.2 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.01275, allocations: 20.25 kB / 304.2 MB, free: 10.27 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (52): * Single equations (assignments): 52 * 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.722e-05/0.01285, allocations: 141.7 kB / 304.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.663e-05/0.01291, allocations: 31.91 kB / 304.4 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.01303, allocations: 75.45 kB / 304.5 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.01304, allocations: 7.938 kB / 304.5 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.01304, allocations: 0 / 304.5 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.01304, allocations: 7.984 kB / 304.5 MB, free: 9.996 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003397/0.01338, allocations: 177.6 kB / 304.7 MB, free: 9.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.01339, allocations: 4 kB / 304.7 MB, free: 9.801 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/0.01363, allocations: 110.6 kB / 304.8 MB, free: 9.695 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.541e-05/0.01366, allocations: 23.8 kB / 304.8 MB, free: 9.672 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.01366, allocations: 3.984 kB / 304.8 MB, free: 9.668 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.01368, allocations: 8 kB / 304.8 MB, free: 9.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.01368, allocations: 4 kB / 304.8 MB, free: 9.656 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01368, allocations: 320 / 304.8 MB, free: 9.656 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003391/0.01402, allocations: 0.6534 MB / 305.5 MB, free: 8.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.01405, allocations: 12 kB / 305.5 MB, free: 8.969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.0142, allocations: 4 kB / 305.5 MB, free: 8.965 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.01423, allocations: 27.89 kB / 305.5 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.01424, allocations: 12 kB / 305.5 MB, free: 8.926 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.542e-05/0.01429, allocations: 66.78 kB / 305.6 MB, free: 8.859 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01429, allocations: 0 / 305.6 MB, free: 8.859 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003255/0.01461, allocations: 103.8 kB / 305.7 MB, free: 8.758 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 13 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi,inertia6.w,inverseSpeedDependentTorque.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 (27): * Single equations (assignments): 27 * 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 9.479e-05/0.01471, allocations: 92.83 kB / 305.8 MB, free: 8.656 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.01491, allocations: 179.2 kB / 306 MB, free: 8.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/0.01491, allocations: 4 kB / 306 MB, free: 8.477 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.535e-05/0.015, allocations: 89.48 kB / 306.1 MB, free: 8.387 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007925/0.01579, allocations: 0.8141 MB / 306.9 MB, free: 7.414 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004839/0.02063, allocations: 0.7756 MB / 307.6 MB, free: 6.594 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.867e-05/0.02072, allocations: 108.6 kB / 307.8 MB, free: 6.465 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.365e-05/0.02081, allocations: 38.94 kB / 307.8 MB, free: 6.426 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.02097, allocations: 123.3 kB / 307.9 MB, free: 6.305 MB / 298.7 MB Notification: Performance of SimCode: time 7.92e-07/0.02097, allocations: 0 / 307.9 MB, free: 6.305 MB / 298.7 MB Notification: Performance of Templates: time 0.006301/0.02727, allocations: 3.628 MB / 311.5 MB, free: 2.793 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.013621692545712]