Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001603/0.001603, allocations: 183.9 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.052/2.052, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001158/0.001157, allocations: 81.56 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5278/0.5278, allocations: 43.55 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004715/0.0004717, allocations: 12 kB / 431.4 MB, free: 5.926 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1278, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003919/0.1318, allocations: 2.219 MB / 492.4 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002413/0.1342, allocations: 0.9324 MB / 493.4 MB, free: 7.812 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002754/0.1346, allocations: 11.94 kB / 493.4 MB, free: 7.801 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.1347, allocations: 31.75 kB / 493.4 MB, free: 7.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004159/0.1351, allocations: 127.6 kB / 493.5 MB, free: 7.645 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006594/0.1358, allocations: 123.6 kB / 493.7 MB, free: 7.523 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006435/0.1364, allocations: 271.4 kB / 493.9 MB, free: 7.258 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002385/0.1367, allocations: 77.59 kB / 494 MB, free: 7.188 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.1369, allocations: 115.6 kB / 494.1 MB, free: 7.074 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.1372, allocations: 135.4 kB / 494.2 MB, free: 6.941 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.901e-05/0.1373, allocations: 20 kB / 494.3 MB, free: 6.922 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001786/0.1375, allocations: 35.94 kB / 494.3 MB, free: 6.887 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.87e-05/0.1376, allocations: 51.81 kB / 494.3 MB, free: 6.836 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.1377, allocations: 85.52 kB / 494.4 MB, free: 6.746 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004715/0.1382, allocations: 259.5 kB / 494.7 MB, free: 6.492 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1382, allocations: 0 / 494.7 MB, free: 6.492 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1382, allocations: 0 / 494.7 MB, free: 6.492 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1382, allocations: 4 kB / 494.7 MB, free: 6.488 MB / 378.7 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.001374/0.1396, allocations: 0.5652 MB / 495.3 MB, free: 5.875 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.1397, allocations: 8.031 kB / 495.3 MB, free: 5.867 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003161/0.14, allocations: 55.61 kB / 495.3 MB, free: 5.812 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004395/0.1404, allocations: 262.5 kB / 495.6 MB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.1405, allocations: 20.66 kB / 495.6 MB, free: 5.496 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.385e-05/0.1406, allocations: 35.91 kB / 495.6 MB, free: 5.461 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007353/0.1413, allocations: 294.7 kB / 495.9 MB, free: 5.152 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.312e-05/0.1414, allocations: 7.875 kB / 495.9 MB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.218e-05/0.1414, allocations: 15.95 kB / 495.9 MB, free: 5.129 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.1415, allocations: 12 kB / 495.9 MB, free: 5.117 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000639/0.1421, allocations: 196.4 kB / 496.1 MB, free: 4.926 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002915/0.1451, allocations: 1.281 MB / 497.4 MB, free: 3.551 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008976/0.146, allocations: 328.8 kB / 497.7 MB, free: 3.184 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/0.1461, allocations: 8 kB / 497.7 MB, free: 3.176 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.1461, allocations: 42.5 kB / 497.8 MB, free: 3.125 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 3.347e-06/0.1461, allocations: 0 / 497.8 MB, free: 3.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.004149/0.1503, allocations: 1.579 MB / 499.4 MB, free: 1.336 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.1505, allocations: 162.2 kB / 499.5 MB, free: 1.141 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003134/0.1508, allocations: 217 kB / 499.7 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.1508, allocations: 29.7 kB / 499.8 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.151, allocations: 238.6 kB / 0.4883 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.1512, allocations: 153.8 kB / 0.4884 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.1512, allocations: 8 kB / 0.4884 GB, free: 496 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1514, allocations: 334.8 kB / 0.4888 GB, free: 152 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/0.1516, allocations: 89.08 kB / 0.4888 GB, free: 60 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3181/0.4698, allocations: 237 kB / 0.4891 GB, free: 42.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004514/0.4703, allocations: 136.4 kB / 0.4892 GB, free: 42.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.4703, allocations: 6.141 kB / 0.4892 GB, free: 42.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001001/0.4713, allocations: 389.3 kB / 0.4896 GB, free: 42.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.4714, allocations: 10.81 kB / 0.4896 GB, free: 42.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.4714, allocations: 8.859 kB / 0.4896 GB, free: 42.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.605e-05/0.4714, allocations: 7.875 kB / 0.4896 GB, free: 42.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007986/0.4723, allocations: 115.1 kB / 0.4897 GB, free: 42.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.199e-05/0.4723, allocations: 13.44 kB / 0.4897 GB, free: 42.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003722/0.4727, allocations: 21.84 kB / 0.4897 GB, free: 42.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.055e-05/0.4727, allocations: 24.34 kB / 0.4898 GB, free: 42.39 MB / 378.7 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.0002309/0.473, allocations: 164.3 kB / 0.4899 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.4732, allocations: 30.55 kB / 0.49 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003553/0.4735, allocations: 122.6 kB / 0.4901 GB, free: 42.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.4735, allocations: 5.781 kB / 0.4901 GB, free: 42.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.4736, allocations: 2.219 kB / 0.4901 GB, free: 42.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.4736, allocations: 5.016 kB / 0.4901 GB, free: 42.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/0.4759, allocations: 1.029 MB / 0.4911 GB, free: 41.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/0.476, allocations: 7 kB / 0.4911 GB, free: 41.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009155/0.4769, allocations: 96.34 kB / 0.4912 GB, free: 41.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.559e-05/0.4769, allocations: 11.02 kB / 0.4912 GB, free: 41.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.222e-05/0.477, allocations: 11.77 kB / 0.4912 GB, free: 41.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-05/0.477, allocations: 8.859 kB / 0.4912 GB, free: 41.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.477, allocations: 4.25 kB / 0.4912 GB, free: 41.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.4783, allocations: 0.9615 MB / 0.4922 GB, free: 40.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.4785, allocations: 105.7 kB / 0.4923 GB, free: 40.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.231e-05/0.4786, allocations: 14.08 kB / 0.4923 GB, free: 40.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004944/0.4791, allocations: 13.03 kB / 0.4923 GB, free: 40.83 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.557e-05/0.4792, allocations: 37.09 kB / 0.4923 GB, free: 40.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/0.4792, allocations: 14.36 kB / 0.4923 GB, free: 40.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002144/0.4795, allocations: 156.4 kB / 0.4925 GB, free: 40.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4795, allocations: 0 / 0.4925 GB, free: 40.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008725/0.4804, allocations: 81.41 kB / 0.4926 GB, free: 40.74 MB / 378.7 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.0001465/0.4805, allocations: 113.7 kB / 0.4927 GB, free: 40.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000827/0.4814, allocations: 278.3 kB / 0.4929 GB, free: 40.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.4814, allocations: 0 / 0.4929 GB, free: 40.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003726/0.4818, allocations: 133.7 kB / 0.4931 GB, free: 40.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.4828, allocations: 61.08 kB / 0.4931 GB, free: 40.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/0.4861, allocations: 1.538 MB / 0.4946 GB, free: 39.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.4866, allocations: 0.7953 MB / 0.4954 GB, free: 38.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001964/0.4868, allocations: 31.17 kB / 0.4954 GB, free: 38.86 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.4868, allocations: 1.25 kB / 0.4954 GB, free: 38.86 MB / 378.7 MB Notification: Performance of Templates: time 0.01102/0.4978, allocations: 3.802 MB / 0.4991 GB, free: 38.57 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/TestBraking/TestBraking.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches