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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009446/0.009446, allocations: 101 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 195.6 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.892/1.892, allocations: 205.1 MB / 222.6 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4082/0.4082, allocations: 43.5 MB / 313.5 MB, free: 8.523 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 67.91 kB / 382 MB, free: 8.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1461, allocations: 57.79 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004233/0.1504, allocations: 2.813 MB / 442.6 MB, free: 12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.1523, allocations: 0.9824 MB / 443.6 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002857/0.1526, allocations: 11.94 kB / 443.6 MB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.1528, allocations: 35.69 kB / 443.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.1531, allocations: 87.25 kB / 443.8 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004093/0.1535, allocations: 127.8 kB / 443.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003521/0.1538, allocations: 366.2 kB / 444.2 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.154, allocations: 85.94 kB / 444.3 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.1541, allocations: 123.5 kB / 444.4 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.1543, allocations: 151.3 kB / 444.6 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.447e-05/0.1544, allocations: 16 kB / 444.6 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.1545, allocations: 31.98 kB / 444.6 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.225e-05/0.1545, allocations: 59.77 kB / 444.7 MB, free: 9.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.1547, allocations: 151.2 kB / 444.8 MB, free: 9.789 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000365/0.155, allocations: 358.7 kB / 445.2 MB, free: 9.438 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1551, allocations: 3.938 kB / 445.2 MB, free: 9.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1551, allocations: 4 kB / 445.2 MB, free: 9.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1551, allocations: 0 / 445.2 MB, free: 9.43 MB / 382.1 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.0009975/0.1561, allocations: 0.6198 MB / 445.8 MB, free: 8.762 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.1561, allocations: 8.031 kB / 445.8 MB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002267/0.1564, allocations: 52.45 kB / 445.9 MB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.1567, allocations: 275.4 kB / 446.1 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.1567, allocations: 21.03 kB / 446.2 MB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.802e-05/0.1568, allocations: 40.28 kB / 446.2 MB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00053/0.1573, allocations: 306.6 kB / 446.5 MB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.1573, allocations: 0 / 446.5 MB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/0.1574, allocations: 12 kB / 446.5 MB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.1574, allocations: 8 kB / 446.5 MB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003505/0.1577, allocations: 195.8 kB / 446.7 MB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001798/0.1595, allocations: 1.288 MB / 448 MB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005018/0.1601, allocations: 336.8 kB / 448.3 MB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.1602, allocations: 108.3 kB / 448.4 MB, free: 5.926 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.1602, allocations: 8.328 kB / 448.4 MB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.1603, allocations: 42.5 kB / 448.5 MB, free: 5.867 MB / 382.1 MB Notification: Performance of pre-optimization done (n=36): time 1.423e-06/0.1603, allocations: 3.938 kB / 448.5 MB, free: 5.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002444/0.1627, allocations: 1.577 MB / 450.1 MB, free: 4.074 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/0.1628, allocations: 162.2 kB / 450.2 MB, free: 3.879 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.163, allocations: 224.9 kB / 450.4 MB, free: 3.645 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.1631, allocations: 33.7 kB / 450.5 MB, free: 3.605 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.1632, allocations: 176.2 kB / 450.6 MB, free: 3.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.1633, allocations: 145.8 kB / 450.8 MB, free: 3.285 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.1634, allocations: 86.16 kB / 450.9 MB, free: 3.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1636, allocations: 346.8 kB / 451.2 MB, free: 2.844 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.1638, allocations: 93.08 kB / 451.3 MB, free: 2.754 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.164, allocations: 247.5 kB / 451.5 MB, free: 2.449 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006132/0.1647, allocations: 379.3 kB / 451.9 MB, free: 2.016 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1647, allocations: 0 / 451.9 MB, free: 2.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000606/0.1653, allocations: 412.7 kB / 452.3 MB, free: 1.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1653, allocations: 4.375 kB / 452.3 MB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.1653, allocations: 12 kB / 452.3 MB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.1654, allocations: 8 kB / 452.3 MB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003798/0.1657, allocations: 115.8 kB / 452.5 MB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/0.1658, allocations: 15.94 kB / 452.5 MB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.166, allocations: 19.94 kB / 452.5 MB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.166, allocations: 27.92 kB / 452.5 MB, free: 1.406 MB / 382.1 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 0.0001516/0.1662, allocations: 153.7 kB / 452.7 MB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.1663, allocations: 31.62 kB / 452.7 MB, free: 1.215 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.1665, allocations: 127.3 kB / 452.8 MB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.1665, allocations: 7.938 kB / 452.8 MB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.1666, allocations: 0 / 452.8 MB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.1666, allocations: 4 kB / 452.8 MB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3039/0.4705, allocations: 1.021 MB / 453.9 MB, free: 48.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.503e-05/0.4705, allocations: 4.125 kB / 453.9 MB, free: 48.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006111/0.4712, allocations: 99.62 kB / 454 MB, free: 48.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.289e-05/0.4712, allocations: 6.297 kB / 454 MB, free: 48.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.416e-05/0.4712, allocations: 13.91 kB / 454 MB, free: 48.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.939e-06/0.4713, allocations: 8.328 kB / 454 MB, free: 48.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.4713, allocations: 2.688 kB / 454 MB, free: 48.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009085/0.4722, allocations: 0.828 MB / 454.8 MB, free: 47.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.4723, allocations: 107.5 kB / 454.9 MB, free: 47.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.532e-05/0.4724, allocations: 12.03 kB / 454.9 MB, free: 47.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/0.4728, allocations: 10.91 kB / 454.9 MB, free: 47.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.458e-05/0.4728, allocations: 39.5 kB / 455 MB, free: 47.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.4729, allocations: 16.53 kB / 455 MB, free: 47.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001366/0.473, allocations: 155.5 kB / 455.2 MB, free: 47.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.473, allocations: 0 / 455.2 MB, free: 47.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007215/0.4737, allocations: 83.09 kB / 455.2 MB, free: 47.45 MB / 382.1 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 0.0001406/0.4739, allocations: 118.4 kB / 455.3 MB, free: 47.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005556/0.4745, allocations: 283.9 kB / 455.6 MB, free: 47.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.4745, allocations: 0 / 455.6 MB, free: 47.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.4747, allocations: 128.2 kB / 455.8 MB, free: 47.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009906/0.4757, allocations: 71.73 kB / 455.8 MB, free: 47.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.4776, allocations: 1.365 MB / 457.2 MB, free: 46.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.4779, allocations: 0.7843 MB / 458 MB, free: 45.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001805/0.478, allocations: 45.42 kB / 458 MB, free: 45.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.171e-05/0.4781, allocations: 28.22 kB / 458 MB, free: 45.78 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4781, allocations: 0 / 458 MB, free: 45.78 MB / 382.1 MB Notification: Performance of Templates: time 0.007546/0.4857, allocations: 2.985 MB / 461 MB, free: 45.61 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe 2>&1) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches