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.001816/0.001816, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002255/0.002255, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.566/1.566, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2693/0.2693, allocations: 46.12 MB / 344.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002242, allocations: 82.08 kB / 417.6 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1462, allocations: 62.46 MB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004757/0.151, allocations: 3.148 MB / 483.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.153, allocations: 1.075 MB / 484.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.1531, allocations: 7.938 kB / 484.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.1533, allocations: 67.31 kB / 484.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002126/0.1536, allocations: 118.9 kB / 484.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005892/0.1542, allocations: 179.6 kB / 484.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000478/0.1547, allocations: 461.9 kB / 485.1 MB, free: 148 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002303/0.1549, allocations: 116.4 kB / 485.3 MB, free: 28 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.1551, allocations: 163.4 kB / 485.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.1554, allocations: 187.2 kB / 485.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.494e-05/0.1554, allocations: 32 kB / 485.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.1556, allocations: 59.92 kB / 485.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.062e-05/0.1557, allocations: 75.75 kB / 485.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.1559, allocations: 203 kB / 486 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004899/0.1564, allocations: 446.6 kB / 486.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1564, allocations: 0 / 486.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1564, allocations: 0 / 486.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1564, allocations: 0 / 486.4 MB, free: 14.88 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.00127/0.1577, allocations: 0.6901 MB / 487.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1577, allocations: 12.03 kB / 487.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003121/0.158, allocations: 60.45 kB / 487.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.1584, allocations: 294.6 kB / 487.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.324e-05/0.1585, allocations: 29.38 kB / 487.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.841e-05/0.1585, allocations: 44.28 kB / 487.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006436/0.1592, allocations: 363.5 kB / 487.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.1592, allocations: 3.906 kB / 487.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/0.1593, allocations: 16 kB / 487.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.1593, allocations: 12 kB / 487.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004956/0.1598, allocations: 255.6 kB / 488.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/0.162, allocations: 1.521 MB / 489.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007626/0.1627, allocations: 419.6 kB / 490.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.163, allocations: 141 kB / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.1631, allocations: 4 kB / 490.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.1631, allocations: 43.03 kB / 490.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.624e-06/0.1631, allocations: 0 / 490.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.003319/0.1664, allocations: 1.98 MB / 492.2 MB, free: 8.473 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/0.1666, allocations: 187.9 kB / 492.4 MB, free: 8.246 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.1669, allocations: 255 kB / 492.7 MB, free: 7.984 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.1669, allocations: 37.7 kB / 492.7 MB, free: 7.941 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.1671, allocations: 200.3 kB / 492.9 MB, free: 7.742 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.1672, allocations: 181.4 kB / 493.1 MB, free: 7.562 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.1674, allocations: 98.25 kB / 493.2 MB, free: 7.461 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1675, allocations: 350.8 kB / 493.5 MB, free: 7.109 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/0.1678, allocations: 117.2 kB / 493.6 MB, free: 6.996 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/0.1681, allocations: 299.9 kB / 493.9 MB, free: 6.625 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006344/0.1688, allocations: 449.4 kB / 494.4 MB, free: 6.109 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1688, allocations: 0 / 494.4 MB, free: 6.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007906/0.1696, allocations: 497.7 kB / 494.9 MB, free: 5.617 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.1696, allocations: 11.94 kB / 494.9 MB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.1697, allocations: 12.31 kB / 494.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.588e-05/0.1697, allocations: 11.98 kB / 494.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005039/0.1702, allocations: 139.8 kB / 495 MB, free: 5.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.64e-05/0.1703, allocations: 15.88 kB / 495 MB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.1705, allocations: 20 kB / 495.1 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.546e-05/0.1705, allocations: 27.98 kB / 495.1 MB, free: 5.383 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.0002588/0.1708, allocations: 173.9 kB / 495.3 MB, free: 5.203 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.171, allocations: 31.62 kB / 495.3 MB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003154/0.1713, allocations: 135.2 kB / 495.4 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.1713, allocations: 8 kB / 495.4 MB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.998e-05/0.1714, allocations: 3.938 kB / 495.4 MB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.1714, allocations: 4 kB / 495.4 MB, free: 5.016 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002226/0.1736, allocations: 1.245 MB / 496.7 MB, free: 3.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.1736, allocations: 4 kB / 496.7 MB, free: 3.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005234/0.1741, allocations: 119.8 kB / 496.8 MB, free: 3.559 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/0.1742, allocations: 8 kB / 496.8 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-05/0.1742, allocations: 16.19 kB / 496.8 MB, free: 3.535 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.719e-06/0.1742, allocations: 11.92 kB / 496.8 MB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.1742, allocations: 8.25 kB / 496.8 MB, free: 3.516 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.1756, allocations: 1.005 MB / 497.9 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.1758, allocations: 112.7 kB / 498 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.891e-05/0.1758, allocations: 16 kB / 498 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003855/0.1762, allocations: 11.98 kB / 498 MB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.726e-05/0.1763, allocations: 47.83 kB / 498 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.1763, allocations: 12 kB / 498 MB, free: 2.242 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001664/0.1765, allocations: 178 kB / 498.2 MB, free: 2.066 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1765, allocations: 4 kB / 498.2 MB, free: 2.062 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000597/0.1771, allocations: 100 kB / 498.3 MB, free: 1.965 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.0001566/0.1773, allocations: 114.7 kB / 498.4 MB, free: 1.848 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006654/0.178, allocations: 367.9 kB / 498.8 MB, free: 1.488 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.178, allocations: 0 / 498.8 MB, free: 1.488 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002698/0.1783, allocations: 168.4 kB / 499 MB, free: 1.324 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.1793, allocations: 100.7 kB / 499.1 MB, free: 1.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.1816, allocations: 1.47 MB / 0.4888 GB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005001/0.1822, allocations: 0.808 MB / 0.4896 GB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001965/0.1824, allocations: 51.33 kB / 0.4896 GB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.698e-05/0.1825, allocations: 31.44 kB / 0.4897 GB, free: 14.77 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1825, allocations: 0 / 0.4897 GB, free: 14.77 MB / 382.1 MB Notification: Performance of Templates: time 0.008692/0.1912, allocations: 3.859 MB / 0.4934 GB, free: 10.95 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