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.001247/0.001247, allocations: 111.4 kB / 17.98 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001261/0.001261, allocations: 209.8 kB / 18.92 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.4 MB / 247.1 MB, free: 9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2172/0.2172, allocations: 46.1 MB / 344.4 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 74.67 kB / 417.7 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1169, allocations: 62.44 MB / 480.1 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004477/0.1214, allocations: 3.179 MB / 483.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.1233, allocations: 1.079 MB / 484.4 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000199/0.1235, allocations: 7.938 kB / 484.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001928/0.1238, allocations: 43.62 kB / 484.4 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.124, allocations: 107.1 kB / 484.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005549/0.1245, allocations: 159.6 kB / 484.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004569/0.125, allocations: 461.9 kB / 485.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000222/0.1252, allocations: 124.4 kB / 485.3 MB, free: 444 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.1254, allocations: 159.4 kB / 485.4 MB, free: 284 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.1257, allocations: 191.1 kB / 485.6 MB, free: 92 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.681e-05/0.1257, allocations: 32 kB / 485.7 MB, free: 60 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.1258, allocations: 51.98 kB / 485.7 MB, free: 8 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.908e-05/0.1259, allocations: 75.88 kB / 485.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.1261, allocations: 203 kB / 486 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003528/0.1265, allocations: 339.2 kB / 486.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1265, allocations: 7.938 kB / 486.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1265, allocations: 0 / 486.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.1265, allocations: 4 kB / 486.3 MB, free: 15.39 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.001158/0.1277, allocations: 0.6862 MB / 487 MB, free: 14.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1277, allocations: 8.031 kB / 487 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003059/0.128, allocations: 64.44 kB / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.1284, allocations: 290.6 kB / 487.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.725e-05/0.1285, allocations: 29.38 kB / 487.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-05/0.1285, allocations: 44.22 kB / 487.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005991/0.1291, allocations: 363.6 kB / 487.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.1292, allocations: 11.91 kB / 487.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.1292, allocations: 8 kB / 487.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.1292, allocations: 12 kB / 487.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000469/0.1297, allocations: 251.7 kB / 488.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/0.1317, allocations: 1.529 MB / 489.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006978/0.1324, allocations: 411.7 kB / 490 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.1327, allocations: 141.4 kB / 490.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.1327, allocations: 7.938 kB / 490.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.1327, allocations: 42.56 kB / 490.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.553e-06/0.1327, allocations: 0 / 490.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.003177/0.1359, allocations: 1.969 MB / 492.2 MB, free: 8.996 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.69e-05/0.136, allocations: 191.9 kB / 492.3 MB, free: 8.766 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.1363, allocations: 255 kB / 492.6 MB, free: 8.504 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.1363, allocations: 29.7 kB / 492.6 MB, free: 8.469 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.1365, allocations: 204.3 kB / 492.8 MB, free: 8.266 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.1366, allocations: 181.4 kB / 493 MB, free: 8.086 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.1368, allocations: 98.25 kB / 493.1 MB, free: 7.984 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1369, allocations: 350.8 kB / 493.4 MB, free: 7.633 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.1371, allocations: 117.2 kB / 493.5 MB, free: 7.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.1375, allocations: 299.9 kB / 493.8 MB, free: 7.148 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006144/0.1381, allocations: 453.3 kB / 494.3 MB, free: 6.629 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1381, allocations: 0 / 494.3 MB, free: 6.629 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007753/0.1389, allocations: 497.4 kB / 494.8 MB, free: 6.137 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.1389, allocations: 8.438 kB / 494.8 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.139, allocations: 8 kB / 494.8 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.139, allocations: 15.94 kB / 494.8 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004845/0.1395, allocations: 135.8 kB / 494.9 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.237e-05/0.1395, allocations: 23.86 kB / 495 MB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.1398, allocations: 16 kB / 495 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.1398, allocations: 28 kB / 495 MB, free: 5.906 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.0001841/0.14, allocations: 169.6 kB / 495.2 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.1402, allocations: 39.53 kB / 495.2 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.1404, allocations: 127.6 kB / 495.3 MB, free: 5.559 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.1404, allocations: 8 kB / 495.3 MB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.1404, allocations: 7.922 kB / 495.3 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1404, allocations: 4 kB / 495.3 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.1422, allocations: 1.253 MB / 496.6 MB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.1423, allocations: 4 kB / 496.6 MB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005314/0.1428, allocations: 123.8 kB / 496.7 MB, free: 4.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-06/0.1428, allocations: 4 kB / 496.7 MB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.11e-05/0.1429, allocations: 16 kB / 496.7 MB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.1429, allocations: 4 kB / 496.7 MB, free: 4.047 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/0.1429, allocations: 4 kB / 496.8 MB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.1439, allocations: 1.013 MB / 497.8 MB, free: 2.977 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.35e-05/0.144, allocations: 108.7 kB / 497.9 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.373e-05/0.144, allocations: 12 kB / 497.9 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/0.1444, allocations: 27.92 kB / 497.9 MB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.933e-05/0.1445, allocations: 35.84 kB / 497.9 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.1445, allocations: 23.98 kB / 498 MB, free: 2.754 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001591/0.1447, allocations: 174 kB / 498.1 MB, free: 2.582 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1447, allocations: 0 / 498.1 MB, free: 2.582 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006186/0.1453, allocations: 100 kB / 498.2 MB, free: 2.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.0001349/0.1455, allocations: 122 kB / 498.4 MB, free: 2.359 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006314/0.1461, allocations: 363.5 kB / 498.7 MB, free: 2.004 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1461, allocations: 0 / 498.7 MB, free: 2.004 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002594/0.1464, allocations: 171.7 kB / 498.9 MB, free: 1.836 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.1474, allocations: 102.8 kB / 499 MB, free: 1.742 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.1498, allocations: 1.643 MB / 0.4889 GB, free: 20 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.1502, allocations: 0.8158 MB / 0.4897 GB, free: 15.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.1503, allocations: 35.44 kB / 0.4897 GB, free: 15.14 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1503, allocations: 0 / 0.4897 GB, free: 15.14 MB / 382.1 MB Notification: Performance of Templates: time 0.00693/0.1573, allocations: 4.734 MB / 0.4943 GB, free: 10.42 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