Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001003/0.001002, allocations: 95 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001327, allocations: 206.1 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2132/0.2132, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002874/0.0002874, allocations: 4 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1572, allocations: 63.56 MB / 483.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.006373/0.1636, allocations: 2.801 MB / 485.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003181/0.1669, allocations: 1.06 MB / 486.9 MB, free: 288 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003551/0.1673, allocations: 7.938 kB / 486.9 MB, free: 280 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.1676, allocations: 43.62 kB / 487 MB, free: 236 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005459/0.1681, allocations: 107.1 kB / 487.1 MB, free: 128 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009774/0.1691, allocations: 159.7 kB / 487.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009154/0.1701, allocations: 441.9 kB / 487.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003615/0.1705, allocations: 105.9 kB / 487.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003544/0.1708, allocations: 143.4 kB / 487.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004266/0.1713, allocations: 171.2 kB / 488.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.004e-05/0.1714, allocations: 20 kB / 488.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002587/0.1717, allocations: 39.92 kB / 488.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.1718, allocations: 63.75 kB / 488.2 MB, free: 15 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003346/0.1721, allocations: 212.7 kB / 488.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007456/0.1729, allocations: 426.5 kB / 488.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/0.1729, allocations: 0 / 488.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.1729, allocations: 3.938 kB / 488.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.173, allocations: 4 kB / 488.8 MB, free: 14.36 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001876/0.1749, allocations: 0.6304 MB / 489.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/0.1749, allocations: 12.88 kB / 489.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005779/0.1755, allocations: 68.34 kB / 489.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006119/0.1762, allocations: 298.5 kB / 489.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.527e-05/0.1763, allocations: 25.38 kB / 489.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.1764, allocations: 48.36 kB / 489.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.1775, allocations: 355.6 kB / 490.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.181e-05/0.1776, allocations: 15.83 kB / 490.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.952e-05/0.1777, allocations: 16 kB / 490.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.1777, allocations: 8 kB / 490.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009833/0.1787, allocations: 251.2 kB / 490.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003966/0.1827, allocations: 1.533 MB / 492.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.1841, allocations: 419.4 kB / 492.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003627/0.1845, allocations: 134 kB / 492.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.256e-05/0.1845, allocations: 11.97 kB / 492.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.247e-05/0.1846, allocations: 46.44 kB / 492.7 MB, free: 10.22 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 3.307e-06/0.1846, allocations: 0 / 492.7 MB, free: 10.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.005725/0.1904, allocations: 1.976 MB / 494.7 MB, free: 7.988 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/0.1905, allocations: 195.8 kB / 494.8 MB, free: 7.754 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004514/0.191, allocations: 251 kB / 495.1 MB, free: 7.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.115e-05/0.1911, allocations: 37.7 kB / 495.1 MB, free: 7.457 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.1913, allocations: 200.3 kB / 495.3 MB, free: 7.258 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/0.1916, allocations: 181.4 kB / 495.5 MB, free: 7.078 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.1917, allocations: 57.69 kB / 495.6 MB, free: 7.016 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.192, allocations: 346.8 kB / 495.9 MB, free: 6.668 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000467/0.1924, allocations: 121.2 kB / 496 MB, free: 6.551 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007083/0.1932, allocations: 299.9 kB / 496.3 MB, free: 6.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.1944, allocations: 458 kB / 496.8 MB, free: 5.656 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.1945, allocations: 0 / 496.8 MB, free: 5.656 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001724/0.1962, allocations: 0.4927 MB / 497.2 MB, free: 5.156 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.1962, allocations: 10.34 kB / 497.3 MB, free: 5.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.1963, allocations: 8 kB / 497.3 MB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.472e-05/0.1963, allocations: 11.98 kB / 497.3 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.1974, allocations: 143.8 kB / 497.4 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.349e-05/0.1974, allocations: 15.88 kB / 497.4 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005363/0.198, allocations: 28.47 kB / 497.5 MB, free: 4.945 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-05/0.1981, allocations: 31.98 kB / 497.5 MB, free: 4.914 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.0003595/0.1984, allocations: 161.7 kB / 497.6 MB, free: 4.746 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000309/0.1987, allocations: 39.62 kB / 497.7 MB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005162/0.1993, allocations: 131.3 kB / 497.8 MB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.1993, allocations: 4 kB / 497.8 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.987e-05/0.1993, allocations: 7.938 kB / 497.8 MB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.1994, allocations: 3.984 kB / 497.8 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003497/0.2029, allocations: 1.249 MB / 499.1 MB, free: 3.215 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/0.2029, allocations: 4 kB / 499.1 MB, free: 3.211 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.204, allocations: 128.3 kB / 499.2 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.692e-05/0.204, allocations: 4 kB / 499.2 MB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.217e-05/0.2041, allocations: 20 kB / 499.2 MB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.727e-05/0.2041, allocations: 11.98 kB / 499.2 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/0.2041, allocations: 7.938 kB / 499.3 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.206, allocations: 1.005 MB / 0.4885 GB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.2062, allocations: 108.6 kB / 0.4886 GB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.908e-05/0.2063, allocations: 19.98 kB / 0.4887 GB, free: 1.836 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007217/0.2071, allocations: 12 kB / 0.4887 GB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.2072, allocations: 47.83 kB / 0.4887 GB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.695e-05/0.2073, allocations: 19.94 kB / 0.4887 GB, free: 1.758 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003126/0.2076, allocations: 178 kB / 0.4889 GB, free: 1.582 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.2076, allocations: 0 / 0.4889 GB, free: 1.582 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001175/0.2088, allocations: 100 kB / 0.489 GB, free: 1.484 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (mass5.s,mass5.v,heatCapacitor.T,mass6.s,mass6.v,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 (49): * Single equations (assignments): 49 * 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.000211/0.209, allocations: 115.1 kB / 0.4891 GB, free: 1.363 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.2102, allocations: 352.2 kB / 0.4894 GB, free: 1.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.2102, allocations: 256 / 0.4894 GB, free: 1.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004504/0.2107, allocations: 175.6 kB / 0.4896 GB, free: 0.8477 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/0.2125, allocations: 89.72 kB / 0.4897 GB, free: 0.7617 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/0.2151, allocations: 1.81 MB / 0.4915 GB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.2156, allocations: 0.8083 MB / 0.4923 GB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002359/0.2158, allocations: 55.33 kB / 0.4923 GB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.447e-05/0.2159, allocations: 35.42 kB / 0.4923 GB, free: 13.95 MB / 382.1 MB Notification: Performance of SimCode: time 4.6e-07/0.2159, allocations: 0 / 0.4923 GB, free: 13.95 MB / 382.1 MB Notification: Performance of Templates: time 0.008708/0.2246, allocations: 3.623 MB / 0.4959 GB, free: 10.36 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_trunk_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches