Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.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.001374/0.001374, 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.001562/0.001562, allocations: 169 kB / 24.14 MB, free: 352 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.8736/0.8736, allocations: 158.6 MB / 186 MB, free: 2.754 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.1358/0.1358, allocations: 32.38 MB / 270.7 MB, free: 14.59 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.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 299 MB, free: 2.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.566e-05/1.72e-05, allocations: 2.312 kB / 299 MB, free: 2.234 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.1456/0.1456, allocations: 2.749 MB / 301.8 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.1471, allocations: 1.004 MB / 302.8 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.1473, allocations: 9.5 kB / 302.8 MB, free: 19.06 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.1475, allocations: 53.98 kB / 302.8 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.1476, allocations: 107.5 kB / 303 MB, free: 18.96 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004408/0.1481, allocations: 149.3 kB / 303.1 MB, free: 18.93 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003777/0.1485, allocations: 396.3 kB / 303.5 MB, free: 18.81 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.1486, allocations: 70.02 kB / 303.6 MB, free: 18.79 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002294/0.1488, allocations: 210.2 kB / 303.8 MB, free: 18.72 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.149, allocations: 115.8 kB / 303.9 MB, free: 18.69 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.799e-05/0.149, allocations: 25.75 kB / 303.9 MB, free: 18.69 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.723e-05/0.1491, allocations: 39.88 kB / 303.9 MB, free: 18.69 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.256e-05/0.1492, allocations: 68.67 kB / 304 MB, free: 18.64 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.1493, allocations: 114.2 kB / 304.1 MB, free: 18.6 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.1496, allocations: 267.3 kB / 304.4 MB, free: 18.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1496, allocations: 1.938 kB / 304.4 MB, free: 18.48 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1496, allocations: 0 / 304.4 MB, free: 18.48 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1496, allocations: 0.5625 kB / 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0006315/0.1502, allocations: 0.5273 MB / 304.9 MB, free: 18.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.1503, allocations: 13.41 kB / 304.9 MB, free: 18.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/0.1504, allocations: 71.88 kB / 305 MB, free: 18.07 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.1506, allocations: 189.8 kB / 305.2 MB, free: 17.91 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.1507, allocations: 21.75 kB / 305.2 MB, free: 17.9 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.203e-05/0.1507, allocations: 36.3 kB / 305.2 MB, free: 17.88 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.1509, allocations: 239.5 kB / 305.5 MB, free: 17.76 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.151, allocations: 9.516 kB / 305.5 MB, free: 17.76 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.151, allocations: 14.41 kB / 305.5 MB, free: 17.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.151, allocations: 8.094 kB / 305.5 MB, free: 17.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.1511, allocations: 101.4 kB / 305.6 MB, free: 17.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008595/0.152, allocations: 0.992 MB / 306.6 MB, free: 16.96 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.1523, allocations: 235.9 kB / 306.8 MB, free: 16.81 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.408e-05/0.1523, allocations: 66.08 kB / 306.9 MB, free: 16.76 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.1524, allocations: 10.38 kB / 306.9 MB, free: 16.76 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.1524, allocations: 43.77 kB / 306.9 MB, free: 16.71 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.754e-06/0.1524, allocations: 3.938 kB / 306.9 MB, free: 16.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.001136/0.1535, allocations: 0.9082 MB / 307.8 MB, free: 16.09 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.1535, allocations: 160.5 kB / 308 MB, free: 15.9 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.1537, allocations: 212.5 kB / 308.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.1537, allocations: 35.2 kB / 308.2 MB, free: 15.72 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.1537, allocations: 167.3 kB / 308.4 MB, free: 15.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.102e-05/0.1538, allocations: 161.6 kB / 308.6 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-05/0.1539, allocations: 83.91 kB / 308.6 MB, free: 15.39 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.279e-05/0.1539, allocations: 344.8 kB / 309 MB, free: 15.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.559e-05/0.154, allocations: 38.42 kB / 309 MB, free: 15.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.1541, allocations: 198.1 kB / 309.2 MB, free: 14.88 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.1543, allocations: 293.8 kB / 309.5 MB, free: 14.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1543, allocations: 5.125 kB / 309.5 MB, free: 14.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0002998/0.1546, allocations: 265.8 kB / 309.8 MB, free: 14.58 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1546, allocations: 8.344 kB / 309.8 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1547, allocations: 3.812 kB / 309.8 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.1547, allocations: 9.531 kB / 309.8 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.1549, allocations: 120.3 kB / 309.9 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.1549, allocations: 12.72 kB / 309.9 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.128e-05/0.155, allocations: 18.92 kB / 309.9 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.155, allocations: 16.94 kB / 310 MB, free: 14.54 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 (62): * Single equations (assignments): 62 * 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.176e-05/0.1551, allocations: 147.7 kB / 310.1 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-05/0.1552, allocations: 31.75 kB / 310.1 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.1553, allocations: 97.94 kB / 310.2 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1553, allocations: 7.719 kB / 310.2 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1553, allocations: 1.375 kB / 310.2 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.1553, allocations: 3.312 kB / 310.2 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000652/0.1559, allocations: 0.7346 MB / 311 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1559, allocations: 3.656 kB / 311 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.1562, allocations: 99.36 kB / 311.1 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.1562, allocations: 4.812 kB / 311.1 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.1562, allocations: 11.27 kB / 311.1 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.1562, allocations: 13.27 kB / 311.1 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1562, allocations: 5 kB / 311.1 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003631/0.1566, allocations: 0.6828 MB / 311.8 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.756e-05/0.1566, allocations: 31.64 kB / 311.8 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.1566, allocations: 19.39 kB / 311.8 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.1568, allocations: 13.45 kB / 311.8 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.1568, allocations: 28.78 kB / 311.9 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.1568, allocations: 12.98 kB / 311.9 MB, free: 13.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.407e-05/0.1569, allocations: 70.81 kB / 312 MB, free: 13.13 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1569, allocations: 0 / 312 MB, free: 13.13 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003435/0.1572, allocations: 81.06 kB / 312 MB, free: 13.12 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * 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 (41): * Single equations (assignments): 41 * 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.478e-05/0.1573, allocations: 99.06 kB / 312.1 MB, free: 13.03 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.1575, allocations: 209.4 kB / 312.3 MB, free: 12.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.1575, allocations: 7 kB / 312.3 MB, free: 12.97 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.406e-05/0.1576, allocations: 104.6 kB / 312.4 MB, free: 12.94 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004607/0.1581, allocations: 67.27 kB / 312.5 MB, free: 12.92 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.1591, allocations: 0.7789 MB / 313.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.465e-05/0.1592, allocations: 108.9 kB / 313.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.1593, allocations: 40.88 kB / 313.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.1595, allocations: 114.6 kB / 313.6 MB, free: 12.24 MB / 282.7 MB Notification: Performance of SimCode: time 6.42e-07/0.1595, allocations: 0 / 313.6 MB, free: 12.24 MB / 282.7 MB Notification: Performance of Templates: time 0.005976/0.1654, allocations: 3.388 MB / 316.9 MB, free: 11.06 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/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: 3.132418700028211]