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.001651/0.00165, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001936/0.001936, allocations: 208 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 247.5 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3359/0.3359, allocations: 46.12 MB / 344.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 79.92 kB / 418.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1231, allocations: 62.46 MB / 480.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004875/0.128, allocations: 3.14 MB / 483.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.1302, allocations: 1.071 MB / 485 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002258/0.1304, allocations: 15.94 kB / 485 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002064/0.1306, allocations: 67.3 kB / 485 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.1309, allocations: 114.9 kB / 485.2 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006045/0.1315, allocations: 183.5 kB / 485.3 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005074/0.132, allocations: 457.9 kB / 485.8 MB, free: 200 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002376/0.1323, allocations: 120.4 kB / 485.9 MB, free: 76 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.1325, allocations: 163.4 kB / 486.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002481/0.1328, allocations: 183.2 kB / 486.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.57e-05/0.1328, allocations: 36 kB / 486.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.133, allocations: 59.92 kB / 486.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.817e-05/0.1331, allocations: 79.73 kB / 486.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.1333, allocations: 195 kB / 486.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005905/0.1339, allocations: 446.6 kB / 487 MB, free: 14.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1339, allocations: 3.938 kB / 487 MB, free: 14.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1339, allocations: 0 / 487 MB, free: 14.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.1339, allocations: 4 kB / 487 MB, free: 14.93 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.00135/0.1353, allocations: 0.6862 MB / 487.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.1353, allocations: 8.031 kB / 487.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003212/0.1357, allocations: 72.44 kB / 487.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003989/0.1361, allocations: 294.6 kB / 488.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.963e-05/0.1361, allocations: 21.38 kB / 488.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.208e-05/0.1362, allocations: 44.28 kB / 488.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006574/0.1369, allocations: 367.5 kB / 488.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.1369, allocations: 7.906 kB / 488.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.738e-05/0.1369, allocations: 16 kB / 488.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.137, allocations: 8 kB / 488.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005629/0.1375, allocations: 251.7 kB / 488.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002335/0.1399, allocations: 1.525 MB / 490.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008364/0.1407, allocations: 423.6 kB / 490.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002517/0.141, allocations: 141.1 kB / 490.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.141, allocations: 7.938 kB / 490.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.1411, allocations: 39.03 kB / 490.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.485e-06/0.1411, allocations: 0 / 490.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.003613/0.1447, allocations: 1.976 MB / 492.9 MB, free: 8.516 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002067/0.1449, allocations: 191.9 kB / 493.1 MB, free: 8.285 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003644/0.1453, allocations: 251 kB / 493.3 MB, free: 8.027 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.1453, allocations: 37.7 kB / 493.4 MB, free: 7.984 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.1455, allocations: 200.3 kB / 493.6 MB, free: 7.785 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.1457, allocations: 181.4 kB / 493.7 MB, free: 7.605 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.1459, allocations: 102.2 kB / 493.8 MB, free: 7.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.1461, allocations: 346.8 kB / 494.2 MB, free: 7.152 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.1464, allocations: 117.2 kB / 494.3 MB, free: 7.039 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003943/0.1468, allocations: 295.9 kB / 494.6 MB, free: 6.672 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006875/0.1475, allocations: 449.5 kB / 495 MB, free: 6.156 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.1475, allocations: 4 kB / 495 MB, free: 6.152 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008643/0.1484, allocations: 497.5 kB / 495.5 MB, free: 5.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.1484, allocations: 10.34 kB / 495.5 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.1484, allocations: 4 kB / 495.5 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/0.1484, allocations: 11.94 kB / 495.5 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005076/0.149, allocations: 147.8 kB / 495.7 MB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.589e-05/0.149, allocations: 16.36 kB / 495.7 MB, free: 5.477 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.1493, allocations: 27.94 kB / 495.7 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.1493, allocations: 24 kB / 495.7 MB, free: 5.426 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.0002192/0.1495, allocations: 161.7 kB / 495.9 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.1497, allocations: 39.62 kB / 495.9 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.15, allocations: 131.2 kB / 496.1 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/0.15, allocations: 4 kB / 496.1 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.15, allocations: 7.938 kB / 496.1 MB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.15, allocations: 3.984 kB / 496.1 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002114/0.1521, allocations: 1.253 MB / 497.3 MB, free: 3.723 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.1522, allocations: 4 kB / 497.3 MB, free: 3.719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005772/0.1527, allocations: 115.9 kB / 497.5 MB, free: 3.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.188e-05/0.1528, allocations: 8.25 kB / 497.5 MB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.736e-05/0.1528, allocations: 20 kB / 497.5 MB, free: 3.578 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.318e-06/0.1528, allocations: 11.94 kB / 497.5 MB, free: 3.566 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.1528, allocations: 4 kB / 497.5 MB, free: 3.562 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.1541, allocations: 1.001 MB / 498.5 MB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.1543, allocations: 112.7 kB / 498.6 MB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.51e-05/0.1543, allocations: 12 kB / 498.6 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003786/0.1547, allocations: 12 kB / 498.6 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.44e-05/0.1548, allocations: 43.89 kB / 498.7 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.1548, allocations: 20 kB / 498.7 MB, free: 2.293 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001934/0.155, allocations: 181.9 kB / 498.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1551, allocations: 0 / 498.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006843/0.1557, allocations: 96 kB / 499 MB, free: 2.02 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.0001607/0.1559, allocations: 111.4 kB / 499.1 MB, free: 1.902 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008114/0.1567, allocations: 372.6 kB / 499.4 MB, free: 1.539 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.1567, allocations: 0 / 499.4 MB, free: 1.539 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003048/0.1571, allocations: 173.2 kB / 499.6 MB, free: 1.371 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.1582, allocations: 101.6 kB / 499.7 MB, free: 1.277 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002824/0.161, allocations: 1.498 MB / 0.4895 GB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005903/0.1616, allocations: 0.8041 MB / 0.4902 GB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.1618, allocations: 35.44 kB / 0.4903 GB, free: 14.83 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1618, allocations: 0 / 0.4903 GB, free: 14.83 MB / 382.1 MB Notification: Performance of Templates: time 0.009024/0.1708, allocations: 4.743 MB / 0.4949 GB, free: 10.1 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/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_trunk_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches