Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001317/0.001317, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001757/0.001757, allocations: 169 kB / 24.14 MB, free: 356 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.9619/0.9619, allocations: 158.6 MB / 186 MB, free: 2.758 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.1405/0.1405, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.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",fileNamePrefix="ModelicaTest_3.2.3_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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 299.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.267e-05, allocations: 2.312 kB / 299.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.1293/0.1294, allocations: 2.735 MB / 301.8 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.1311, allocations: 1.003 MB / 302.8 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002323/0.1314, allocations: 9.844 kB / 302.8 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.1315, allocations: 48.47 kB / 302.9 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.1317, allocations: 115.7 kB / 303 MB, free: 18.97 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.1322, allocations: 143.9 kB / 303.1 MB, free: 18.94 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004326/0.1326, allocations: 383.9 kB / 303.5 MB, free: 18.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.1328, allocations: 65.86 kB / 303.6 MB, free: 18.8 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002773/0.1331, allocations: 209 kB / 303.8 MB, free: 18.72 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.1333, allocations: 106.7 kB / 303.9 MB, free: 18.69 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.1333, allocations: 32.58 kB / 303.9 MB, free: 18.68 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.1334, allocations: 43.83 kB / 304 MB, free: 18.68 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.667e-05/0.1335, allocations: 64.08 kB / 304 MB, free: 18.63 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.1336, allocations: 109.4 kB / 304.1 MB, free: 18.59 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004013/0.134, allocations: 257.8 kB / 304.4 MB, free: 18.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.134, allocations: 0 / 304.4 MB, free: 18.48 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.134, allocations: 1.25 kB / 304.4 MB, free: 18.48 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.134, allocations: 0 / 304.4 MB, free: 18.48 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.0006351/0.1347, allocations: 0.5095 MB / 304.9 MB, free: 18.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.1347, allocations: 9.531 kB / 304.9 MB, free: 18.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/0.1349, allocations: 70.06 kB / 305 MB, free: 18.08 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.1351, allocations: 189.4 kB / 305.1 MB, free: 17.92 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.1351, allocations: 24.81 kB / 305.2 MB, free: 17.9 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/0.1352, allocations: 37.66 kB / 305.2 MB, free: 17.89 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.1354, allocations: 246.4 kB / 305.4 MB, free: 17.76 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.1355, allocations: 6.562 kB / 305.5 MB, free: 17.76 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.1355, allocations: 15.25 kB / 305.5 MB, free: 17.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.1355, allocations: 7.906 kB / 305.5 MB, free: 17.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.1356, allocations: 88 kB / 305.6 MB, free: 17.74 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009406/0.1366, allocations: 1.033 MB / 306.6 MB, free: 16.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.1368, allocations: 180.5 kB / 306.8 MB, free: 16.79 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.499e-05/0.1368, allocations: 49.25 kB / 306.8 MB, free: 16.75 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.1369, allocations: 7.562 kB / 306.8 MB, free: 16.75 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.1369, allocations: 44.14 kB / 306.9 MB, free: 16.7 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 1.873e-06/0.1369, allocations: 0 / 306.9 MB, free: 16.7 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002633/0.1371, allocations: 144 kB / 307 MB, free: 16.65 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.1372, allocations: 171.1 kB / 307.2 MB, free: 16.45 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.1373, allocations: 197.4 kB / 307.4 MB, free: 16.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.1373, allocations: 35.14 kB / 307.4 MB, free: 16.28 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.888e-05/0.1374, allocations: 185.9 kB / 307.6 MB, free: 16.12 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.412e-05/0.1374, allocations: 89.84 kB / 307.7 MB, free: 16.05 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.6e-05/0.1375, allocations: 70.31 kB / 307.7 MB, free: 16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.641e-05/0.1375, allocations: 336 kB / 308.1 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.225e-05/0.1376, allocations: 27.25 kB / 308.1 MB, free: 15.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.47e-05/0.1377, allocations: 168.9 kB / 308.3 MB, free: 15.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.1378, allocations: 248.8 kB / 308.5 MB, free: 15.28 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.1378, allocations: 2.469 kB / 308.5 MB, free: 15.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000241/0.1381, allocations: 215 kB / 308.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1381, allocations: 15.16 kB / 308.7 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1381, allocations: 5.438 kB / 308.7 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1381, allocations: 6.969 kB / 308.7 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.1383, allocations: 109.6 kB / 308.9 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1384, allocations: 7.984 kB / 308.9 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.294e-05/0.1384, allocations: 30.84 kB / 308.9 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.1385, allocations: 14.88 kB / 308.9 MB, free: 15.16 MB / 282.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 6.79e-05/0.1385, allocations: 138 kB / 309 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.419e-05/0.1386, allocations: 24.19 kB / 309.1 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.91e-05/0.1387, allocations: 79.94 kB / 309.1 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1387, allocations: 3.156 kB / 309.1 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.1387, allocations: 1.797 kB / 309.1 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.1387, allocations: 2.531 kB / 309.1 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003089/0.139, allocations: 151.2 kB / 309.3 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.139, allocations: 1.062 kB / 309.3 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.1392, allocations: 81.89 kB / 309.4 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.1392, allocations: 5.469 kB / 309.4 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.1393, allocations: 7.562 kB / 309.4 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1393, allocations: 2.031 kB / 309.4 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1393, allocations: 5.094 kB / 309.4 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.1395, allocations: 0.5562 MB / 310 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.1395, allocations: 23.22 kB / 310 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.1396, allocations: 8.922 kB / 310 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.1397, allocations: 3.469 kB / 310 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.1397, allocations: 18.2 kB / 310 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.1397, allocations: 4.188 kB / 310 MB, free: 14.36 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.312e-05/0.1398, allocations: 57.33 kB / 310.1 MB, free: 14.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1398, allocations: 0 / 310.1 MB, free: 14.34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003354/0.1401, allocations: 94.94 kB / 310.2 MB, free: 14.31 MB / 282.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.944e-05/0.1402, allocations: 78.56 kB / 310.2 MB, free: 14.24 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.1404, allocations: 146.6 kB / 310.4 MB, free: 14.2 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.1404, allocations: 2.156 kB / 310.4 MB, free: 14.2 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.521e-05/0.1404, allocations: 63.95 kB / 310.4 MB, free: 14.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.1409, allocations: 69.89 kB / 310.5 MB, free: 14.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.1419, allocations: 0.6696 MB / 311.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.947e-05/0.142, allocations: 91.8 kB / 311.3 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.1421, allocations: 30.11 kB / 311.3 MB, free: 13.63 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.1422, allocations: 101.1 kB / 311.4 MB, free: 13.59 MB / 282.7 MB Notification: Performance of SimCode: time 1.143e-06/0.1422, allocations: 0 / 311.4 MB, free: 13.59 MB / 282.7 MB Notification: Performance of Templates: time 0.006285/0.1485, allocations: 2.914 MB / 314.3 MB, free: 12.88 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestBraking/TestBraking.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.9083271441049874]