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.001045/0.001045, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001009/0.00101, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.357/1.357, allocations: 222.9 MB / 243 MB, free: 15.07 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.2068/0.2068, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 62.03 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1294, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004018/0.1335, allocations: 2.78 MB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.1351, allocations: 0.9502 MB / 474.4 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.1352, allocations: 8 kB / 474.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.1354, allocations: 55.44 kB / 474.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.1356, allocations: 107 kB / 474.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.136, allocations: 143.6 kB / 474.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000358/0.1364, allocations: 378.2 kB / 475.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.1365, allocations: 93.05 kB / 475.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.1367, allocations: 143.4 kB / 475.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.1368, allocations: 143.3 kB / 475.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.548e-05/0.1369, allocations: 24 kB / 475.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.86e-05/0.137, allocations: 47.98 kB / 475.5 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.75e-05/0.137, allocations: 67.75 kB / 475.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.1372, allocations: 159.2 kB / 475.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003417/0.1375, allocations: 378.6 kB / 476.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.1375, allocations: 7.984 kB / 476.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1375, allocations: 0 / 476.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.1376, allocations: 4 kB / 476.1 MB, free: 8.168 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.00097/0.1385, allocations: 0.6082 MB / 476.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.1386, allocations: 12.03 kB / 476.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002075/0.1388, allocations: 48.55 kB / 476.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.1392, allocations: 284 kB / 477.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.1392, allocations: 21.03 kB / 477.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.218e-05/0.1393, allocations: 32.38 kB / 477.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000469/0.1398, allocations: 306.6 kB / 477.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.1398, allocations: 7.891 kB / 477.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.1398, allocations: 12 kB / 477.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.1398, allocations: 8 kB / 477.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003334/0.1402, allocations: 195.8 kB / 477.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.1418, allocations: 1.284 MB / 478.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005056/0.1424, allocations: 336.8 kB / 479.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.1425, allocations: 104.6 kB / 479.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.1426, allocations: 11.94 kB / 479.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.1426, allocations: 46.48 kB / 479.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.593e-06/0.1426, allocations: 0 / 479.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002386/0.145, allocations: 1.578 MB / 481 MB, free: 2.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.96e-05/0.1451, allocations: 158.2 kB / 481.2 MB, free: 2.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.1453, allocations: 221 kB / 481.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.1453, allocations: 37.7 kB / 481.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.1455, allocations: 176.2 kB / 481.6 MB, free: 2.184 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.1456, allocations: 145.8 kB / 481.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.1457, allocations: 90.16 kB / 481.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1458, allocations: 346.8 kB / 482.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.146, allocations: 93.03 kB / 482.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.1462, allocations: 247.5 kB / 482.5 MB, free: 1.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004615/0.1467, allocations: 374 kB / 482.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1467, allocations: 0 / 482.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005642/0.1473, allocations: 417 kB / 483.3 MB, free: 364 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1473, allocations: 8 kB / 483.3 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.1473, allocations: 4 kB / 483.3 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.1473, allocations: 8 kB / 483.3 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003777/0.1477, allocations: 115.8 kB / 483.4 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.1478, allocations: 15.92 kB / 483.4 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.1479, allocations: 16 kB / 483.4 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.148, allocations: 20 kB / 483.4 MB, free: 176 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.0001533/0.1481, allocations: 157.8 kB / 483.6 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.1483, allocations: 31.89 kB / 483.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.1485, allocations: 119.3 kB / 483.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.1485, allocations: 11.94 kB / 483.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.1485, allocations: 0 / 483.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.1485, allocations: 7.984 kB / 483.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.1499, allocations: 1.037 MB / 484.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.15, allocations: 128 / 484.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004434/0.1504, allocations: 100.1 kB / 484.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.1504, allocations: 8 kB / 484.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.1505, allocations: 12 kB / 484.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.288e-06/0.1505, allocations: 11.98 kB / 484.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.1505, allocations: 3.938 kB / 484.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007352/0.1512, allocations: 0.8341 MB / 485.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.221e-05/0.1513, allocations: 104.7 kB / 485.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.1514, allocations: 20 kB / 485.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/0.1517, allocations: 8.422 kB / 485.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.1517, allocations: 35.84 kB / 485.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.1517, allocations: 15.94 kB / 485.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.1519, allocations: 160.5 kB / 486.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1519, allocations: 0 / 486.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000535/0.1524, allocations: 84 kB / 486.2 MB, free: 13.25 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.0001151/0.1525, allocations: 111.2 kB / 486.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004493/0.153, allocations: 276.8 kB / 486.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.153, allocations: 8.688 kB / 486.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.1532, allocations: 127.8 kB / 486.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008357/0.154, allocations: 74.27 kB / 486.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.1558, allocations: 1.247 MB / 488 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.1562, allocations: 0.7803 MB / 488.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001475/0.1564, allocations: 47.25 kB / 488.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.54e-05/0.1564, allocations: 27.44 kB / 488.9 MB, free: 10.48 MB / 366.1 MB Notification: Performance of SimCode: time 3.416e-06/0.1565, allocations: 0 / 488.9 MB, free: 10.48 MB / 366.1 MB Notification: Performance of Templates: time 0.006585/0.163, allocations: 3.125 MB / 492 MB, free: 7.383 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 gbode -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