Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.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|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.0.0_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|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001188, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001018/0.001018, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2107/0.2107, allocations: 44.17 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 66.64 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1133, allocations: 60.82 MB / 469.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003824/0.1171, allocations: 2.78 MB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.1192, allocations: 0.9541 MB / 473 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.1194, allocations: 8 kB / 473 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002105/0.1196, allocations: 55.45 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.1198, allocations: 103 kB / 473.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000554/0.1204, allocations: 147.5 kB / 473.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000434/0.1208, allocations: 378.3 kB / 473.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002376/0.1211, allocations: 85.11 kB / 473.7 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.1212, allocations: 143.4 kB / 473.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002379/0.1215, allocations: 143.3 kB / 474 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.896e-05/0.1215, allocations: 28 kB / 474 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.1217, allocations: 43.98 kB / 474.1 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.346e-05/0.1218, allocations: 63.77 kB / 474.1 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.1219, allocations: 159.2 kB / 474.3 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004094/0.1223, allocations: 382.9 kB / 474.7 MB, free: 8.922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1224, allocations: 0 / 474.7 MB, free: 8.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1224, allocations: 0 / 474.7 MB, free: 8.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1224, allocations: 0 / 474.7 MB, free: 8.922 MB / 350.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.000951/0.1233, allocations: 0.6198 MB / 475.3 MB, free: 8.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1234, allocations: 8.031 kB / 475.3 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002167/0.1236, allocations: 52.53 kB / 475.4 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.1239, allocations: 268.2 kB / 475.6 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.1239, allocations: 21.03 kB / 475.6 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.139e-05/0.124, allocations: 32.38 kB / 475.7 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000424/0.1244, allocations: 310.6 kB / 476 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.1244, allocations: 7.906 kB / 476 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.1245, allocations: 15.94 kB / 476 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.1245, allocations: 11.98 kB / 476 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003164/0.1248, allocations: 199.8 kB / 476.2 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.1264, allocations: 1.284 MB / 477.5 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00048/0.1269, allocations: 340.8 kB / 477.8 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.1271, allocations: 104.3 kB / 477.9 MB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.1271, allocations: 4.469 kB / 477.9 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.1271, allocations: 46.5 kB / 478 MB, free: 5.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.503e-06/0.1271, allocations: 0 / 478 MB, free: 5.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002246/0.1294, allocations: 1.566 MB / 479.5 MB, free: 3.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.913e-05/0.1295, allocations: 170.2 kB / 479.7 MB, free: 3.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.1297, allocations: 221 kB / 479.9 MB, free: 3.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.1297, allocations: 33.7 kB / 479.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.1298, allocations: 180.2 kB / 480.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.631e-05/0.1299, allocations: 145.8 kB / 480.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-05/0.13, allocations: 86.16 kB / 480.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1302, allocations: 346.8 kB / 480.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.1303, allocations: 89.09 kB / 480.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.1306, allocations: 251.5 kB / 481 MB, free: 1.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004123/0.131, allocations: 371.2 kB / 481.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.131, allocations: 4 kB / 481.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000568/0.1316, allocations: 412.6 kB / 481.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1316, allocations: 8 kB / 481.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.1316, allocations: 4.375 kB / 481.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.1316, allocations: 12 kB / 481.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003724/0.132, allocations: 119.8 kB / 481.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/0.132, allocations: 15.92 kB / 481.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.1322, allocations: 16 kB / 482 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.1322, allocations: 20 kB / 482 MB, free: 0.918 MB / 350.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.0001647/0.1324, allocations: 157.7 kB / 482.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.1325, allocations: 27.72 kB / 482.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/0.1327, allocations: 127.4 kB / 482.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.1328, allocations: 15.92 kB / 482.3 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.1328, allocations: 4 kB / 482.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1328, allocations: 0 / 482.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.1341, allocations: 1.038 MB / 483.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.1341, allocations: 4 kB / 483.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004197/0.1346, allocations: 95.89 kB / 483.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.1346, allocations: 8 kB / 483.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.1346, allocations: 8.25 kB / 483.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/0.1346, allocations: 11.98 kB / 483.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.1346, allocations: 11.95 kB / 483.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007848/0.1354, allocations: 0.8265 MB / 484.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.289e-05/0.1355, allocations: 104.7 kB / 484.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.917e-05/0.1356, allocations: 19.98 kB / 484.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002816/0.1358, allocations: 12 kB / 484.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.1359, allocations: 27.91 kB / 484.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.1359, allocations: 19.94 kB / 484.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.136, allocations: 156.5 kB / 484.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1361, allocations: 0 / 484.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005091/0.1366, allocations: 84 kB / 484.7 MB, free: 14.01 MB / 366.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.0001225/0.1367, allocations: 111.2 kB / 484.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004488/0.1372, allocations: 299.7 kB / 485.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1372, allocations: 0 / 485.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.1373, allocations: 133 kB / 485.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008049/0.1381, allocations: 76.34 kB / 485.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.1399, allocations: 1.242 MB / 486.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.1403, allocations: 0.7842 MB / 487.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001537/0.1405, allocations: 39.28 kB / 487.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.845e-05/0.1405, allocations: 31.44 kB / 487.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1405, allocations: 0 / 487.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of Templates: time 0.006505/0.147, allocations: 3.131 MB / 490.6 MB, free: 8.121 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches