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.001013/0.001013, allocations: 95.25 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 176 kB / 16.57 MB, free: 6.379 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.667/1.667, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.3422/0.3422, allocations: 43.54 MB / 314.5 MB, free: 9.012 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.000573/0.0005733, allocations: 12 kB / 383.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1326, allocations: 58.86 MB / 442.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.002962/0.1356, allocations: 2.22 MB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.1375, allocations: 0.9325 MB / 445.9 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.1378, allocations: 8 kB / 445.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.1379, allocations: 43.62 kB / 445.9 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003393/0.1383, allocations: 119.7 kB / 446.1 MB, free: 9.965 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005192/0.1388, allocations: 119.7 kB / 446.2 MB, free: 9.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004556/0.1393, allocations: 267.4 kB / 446.4 MB, free: 9.586 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001948/0.1395, allocations: 89.55 kB / 446.5 MB, free: 9.504 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.1397, allocations: 115.6 kB / 446.6 MB, free: 9.391 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.1399, allocations: 139.4 kB / 446.8 MB, free: 9.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.076e-05/0.14, allocations: 12 kB / 446.8 MB, free: 9.242 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.1401, allocations: 39.92 kB / 446.8 MB, free: 9.203 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.73e-05/0.1401, allocations: 51.77 kB / 446.9 MB, free: 9.152 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.1403, allocations: 89.52 kB / 447 MB, free: 9.059 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003185/0.1406, allocations: 263.5 kB / 447.2 MB, free: 8.801 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1406, allocations: 0 / 447.2 MB, free: 8.801 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1406, allocations: 0 / 447.2 MB, free: 8.801 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.692e-05/0.1407, allocations: 0 / 447.2 MB, free: 8.801 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.0009355/0.1416, allocations: 0.5652 MB / 447.8 MB, free: 8.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1416, allocations: 8.031 kB / 447.8 MB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002302/0.1419, allocations: 47.61 kB / 447.8 MB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.1422, allocations: 258.5 kB / 448.1 MB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.1423, allocations: 24.66 kB / 448.1 MB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.365e-05/0.1423, allocations: 35.91 kB / 448.2 MB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005493/0.1429, allocations: 302.6 kB / 448.4 MB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.1429, allocations: 4 kB / 448.5 MB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.143, allocations: 19.95 kB / 448.5 MB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.143, allocations: 4 kB / 448.5 MB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003272/0.1433, allocations: 200.4 kB / 448.7 MB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.1451, allocations: 1.285 MB / 450 MB, free: 5.863 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004832/0.1456, allocations: 337 kB / 450.3 MB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.1457, allocations: 4 kB / 450.3 MB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.1457, allocations: 46.5 kB / 450.3 MB, free: 5.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=36): time 1.463e-06/0.1457, allocations: 0 / 450.3 MB, free: 5.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002311/0.148, allocations: 1.566 MB / 451.9 MB, free: 3.652 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/0.1482, allocations: 170.1 kB / 452.1 MB, free: 3.449 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.1484, allocations: 221 kB / 452.3 MB, free: 3.219 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.1484, allocations: 29.7 kB / 452.3 MB, free: 3.184 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.1486, allocations: 176.2 kB / 452.5 MB, free: 3.008 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.1487, allocations: 149.8 kB / 452.6 MB, free: 2.859 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.797e-05/0.1487, allocations: 12 kB / 452.6 MB, free: 2.848 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1489, allocations: 342.8 kB / 453 MB, free: 2.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.149, allocations: 101 kB / 453.1 MB, free: 2.402 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002941/0.1493, allocations: 244.1 kB / 453.3 MB, free: 2.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.1496, allocations: 123.9 kB / 453.4 MB, free: 1.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1496, allocations: 4 kB / 453.4 MB, free: 1.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005688/0.1502, allocations: 401.3 kB / 453.8 MB, free: 1.578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1502, allocations: 16 kB / 453.8 MB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.1502, allocations: 4 kB / 453.9 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/0.1503, allocations: 8 kB / 453.9 MB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/0.1506, allocations: 119.8 kB / 454 MB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/0.1507, allocations: 8 kB / 454 MB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.1509, allocations: 23.86 kB / 454 MB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/0.1509, allocations: 20 kB / 454 MB, free: 1.383 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001481/0.1511, allocations: 165.6 kB / 454.2 MB, free: 1.211 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.1512, allocations: 35.7 kB / 454.2 MB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/0.1514, allocations: 119.2 kB / 454.3 MB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.1515, allocations: 8 kB / 454.3 MB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.1515, allocations: 0 / 454.3 MB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.1515, allocations: 3.984 kB / 454.4 MB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1835/0.335, allocations: 1.033 MB / 455.4 MB, free: 45.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.3351, allocations: 4.312 kB / 455.4 MB, free: 45.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/0.3355, allocations: 101.7 kB / 455.5 MB, free: 45.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.368e-05/0.3355, allocations: 6.062 kB / 455.5 MB, free: 45.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.3356, allocations: 14.17 kB / 455.5 MB, free: 45.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.796e-06/0.3356, allocations: 9.375 kB / 455.5 MB, free: 45.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.3356, allocations: 5.312 kB / 455.5 MB, free: 45.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007601/0.3364, allocations: 0.9575 MB / 456.5 MB, free: 44.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.779e-05/0.3364, allocations: 107.4 kB / 456.6 MB, free: 44.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.065e-05/0.3365, allocations: 11.03 kB / 456.6 MB, free: 44.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002988/0.3368, allocations: 10.59 kB / 456.6 MB, free: 44.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.3368, allocations: 40.33 kB / 456.6 MB, free: 44.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.3369, allocations: 14.25 kB / 456.7 MB, free: 44.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.337, allocations: 152.9 kB / 456.8 MB, free: 44.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.337, allocations: 0 / 456.8 MB, free: 44.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005463/0.3375, allocations: 85.81 kB / 456.9 MB, free: 44.61 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001022/0.3376, allocations: 116.2 kB / 457 MB, free: 44.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003669/0.338, allocations: 273.4 kB / 457.3 MB, free: 44.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.338, allocations: 0 / 457.3 MB, free: 44.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.3382, allocations: 132.8 kB / 457.4 MB, free: 44.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005826/0.3388, allocations: 65.28 kB / 457.5 MB, free: 44.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.3404, allocations: 1.506 MB / 459 MB, free: 43.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.3407, allocations: 0.7957 MB / 459.8 MB, free: 42.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001495/0.3408, allocations: 40.95 kB / 459.8 MB, free: 42.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.48e-05/0.3409, allocations: 30.53 kB / 459.8 MB, free: 42.85 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3409, allocations: 0 / 459.8 MB, free: 42.85 MB / 382.1 MB Notification: Performance of Templates: time 0.005093/0.346, allocations: 2.841 MB / 462.7 MB, free: 42.68 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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