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.001439/0.001439, allocations: 105.4 kB / 18.4 MB, free: 4.57 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.001389/0.001389, allocations: 188 kB / 19.34 MB, free: 3.641 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.384/1.384, allocations: 222.9 MB / 243 MB, free: 15.14 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.2318/0.2318, allocations: 44.18 MB / 337.4 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 62.23 kB / 409.9 MB, free: 26.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1214, allocations: 60.83 MB / 470.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003795/0.1252, allocations: 2.78 MB / 473.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.1267, allocations: 0.9502 MB / 474.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.1269, allocations: 11.94 kB / 474.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.1271, allocations: 59.44 kB / 474.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.1273, allocations: 95.06 kB / 474.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004736/0.1277, allocations: 155.6 kB / 474.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003715/0.1281, allocations: 378.2 kB / 475.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.1283, allocations: 89.12 kB / 475.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.1284, allocations: 135.5 kB / 475.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.1286, allocations: 147.3 kB / 475.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.031e-05/0.1287, allocations: 27.98 kB / 475.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.1288, allocations: 43.98 kB / 475.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.472e-05/0.1289, allocations: 67.77 kB / 475.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.129, allocations: 171.1 kB / 475.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003613/0.1294, allocations: 370.6 kB / 476.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1294, allocations: 0 / 476.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1294, allocations: 0 / 476.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1294, allocations: 4 kB / 476.1 MB, free: 8.227 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.0009404/0.1304, allocations: 0.6188 MB / 476.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.1304, allocations: 8.031 kB / 476.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000209/0.1306, allocations: 48.55 kB / 476.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004104/0.131, allocations: 280 kB / 477.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.1311, allocations: 28.97 kB / 477.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/0.1311, allocations: 32.38 kB / 477.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004936/0.1316, allocations: 302.6 kB / 477.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.1317, allocations: 7.906 kB / 477.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.1317, allocations: 12 kB / 477.5 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.1317, allocations: 8 kB / 477.5 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003434/0.1321, allocations: 207.7 kB / 477.7 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.1339, allocations: 1.284 MB / 479 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004763/0.1343, allocations: 328.9 kB / 479.3 MB, free: 4.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.1345, allocations: 104.7 kB / 479.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.1345, allocations: 7.984 kB / 479.4 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.1346, allocations: 42.5 kB / 479.4 MB, free: 4.664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.543e-06/0.1346, allocations: 4 kB / 479.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002352/0.1369, allocations: 1.578 MB / 481 MB, free: 2.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.137, allocations: 158.2 kB / 481.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.1372, allocations: 221 kB / 481.4 MB, free: 2.457 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.1372, allocations: 37.7 kB / 481.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.1374, allocations: 184.1 kB / 481.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.313e-05/0.1375, allocations: 141.9 kB / 481.7 MB, free: 2.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.1376, allocations: 86.16 kB / 481.8 MB, free: 2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1377, allocations: 342.8 kB / 482.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.1379, allocations: 93.08 kB / 482.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.1381, allocations: 251.5 kB / 482.5 MB, free: 1.254 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004179/0.1385, allocations: 365.9 kB / 482.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1385, allocations: 4 kB / 482.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005614/0.1391, allocations: 421.1 kB / 483.3 MB, free: 420 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1391, allocations: 4 kB / 483.3 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.1392, allocations: 8 kB / 483.3 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.1392, allocations: 7.938 kB / 483.3 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.1396, allocations: 119.8 kB / 483.4 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.1396, allocations: 8.375 kB / 483.4 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.1397, allocations: 19.98 kB / 483.4 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-05/0.1398, allocations: 20 kB / 483.5 MB, free: 232 kB / 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.0001376/0.1399, allocations: 161.7 kB / 483.6 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.1401, allocations: 27.72 kB / 483.6 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.1403, allocations: 123.4 kB / 483.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.1403, allocations: 11.94 kB / 483.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1403, allocations: 3.938 kB / 483.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.1403, allocations: 0 / 483.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.1417, allocations: 1.041 MB / 484.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1417, allocations: 4 kB / 484.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004171/0.1422, allocations: 92.12 kB / 484.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.1422, allocations: 8 kB / 484.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.1422, allocations: 12 kB / 484.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.635e-06/0.1422, allocations: 4 kB / 484.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.1422, allocations: 11.92 kB / 484.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007946/0.143, allocations: 0.8383 MB / 485.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.953e-05/0.1431, allocations: 100.7 kB / 485.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.722e-05/0.1432, allocations: 19.98 kB / 485.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/0.1435, allocations: 8 kB / 485.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/0.1435, allocations: 35.97 kB / 485.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.1436, allocations: 20 kB / 486 MB, free: 13.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000128/0.1437, allocations: 156.5 kB / 486.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1437, allocations: 0 / 486.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005328/0.1442, allocations: 84 kB / 486.2 MB, free: 13.31 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.0001143/0.1444, allocations: 107.2 kB / 486.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004382/0.1448, allocations: 280.7 kB / 486.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1448, allocations: 0 / 486.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.145, allocations: 131.8 kB / 486.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008391/0.1458, allocations: 81.92 kB / 486.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.1476, allocations: 1.235 MB / 488 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.148, allocations: 0.7999 MB / 488.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001354/0.1481, allocations: 35.27 kB / 488.9 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.592e-05/0.1482, allocations: 35.38 kB / 488.9 MB, free: 10.52 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1482, allocations: 0 / 488.9 MB, free: 10.52 MB / 366.1 MB Notification: Performance of Templates: time 0.006377/0.1546, allocations: 3.124 MB / 492 MB, free: 7.43 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches