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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001137/0.001137, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001605/0.002742, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001045/0.001045, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001453/0.002498, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.11/1.11, allocations: 177.5 MB / 190 MB, free: 4.742 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09313/1.203, allocations: 53.87 MB / 243.9 MB, free: 14.8 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2582/0.2582, allocations: 34.88 MB / 279.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02336/0.2815, allocations: 13.23 MB / 292.8 MB, free: 6.355 MB / 282.7 MB " [Timeout remaining time 180] 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=5006,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v|mass6.s|mass6.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v|mass6.s|mass6.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 294.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.599e-05, allocations: 8.594 kB / 294.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004111/0.004127, allocations: 3.173 MB / 297.2 MB, free: 1.891 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.005941, allocations: 1.083 MB / 298.3 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.006118, allocations: 15.88 kB / 298.3 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.00626, allocations: 63.31 kB / 298.4 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.006519, allocations: 138.8 kB / 298.5 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004322/0.006952, allocations: 175.4 kB / 298.7 MB, free: 428 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005113/0.007463, allocations: 485.5 kB / 299.2 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.007638, allocations: 84.56 kB / 299.3 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003216/0.007959, allocations: 275.9 kB / 299.5 MB, free: 15.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.008174, allocations: 143.6 kB / 299.7 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.106e-05/0.008225, allocations: 32 kB / 299.7 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.008371, allocations: 55.98 kB / 299.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.682e-05/0.008428, allocations: 59.75 kB / 299.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.008548, allocations: 115.8 kB / 299.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.00893, allocations: 290.9 kB / 300.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.217e-05/0.008942, allocations: 0 / 300.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.008942, allocations: 0 / 300.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.008954, allocations: 0 / 300.2 MB, free: 14.89 MB / 298.7 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.0009831/0.009937, allocations: 0.688 MB / 300.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.009973, allocations: 12.92 kB / 300.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003269/0.0103, allocations: 169.9 kB / 301.1 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.0106, allocations: 212.7 kB / 301.3 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.01063, allocations: 25.38 kB / 301.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-05/0.01069, allocations: 44.31 kB / 301.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003794/0.01107, allocations: 296.6 kB / 301.6 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/0.0111, allocations: 12.12 kB / 301.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.01112, allocations: 19.94 kB / 301.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.01114, allocations: 8 kB / 301.7 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.01136, allocations: 128.5 kB / 301.8 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.01272, allocations: 1.177 MB / 303 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003715/0.01309, allocations: 276.7 kB / 303.3 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.0132, allocations: 85.12 kB / 303.3 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.01322, allocations: 12 kB / 303.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.01326, allocations: 46.44 kB / 303.4 MB, free: 11.47 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.924e-06/0.01326, allocations: 0 / 303.4 MB, free: 11.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.001806/0.01507, allocations: 1.127 MB / 304.5 MB, free: 10.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.012e-05/0.01515, allocations: 191.9 kB / 304.7 MB, free: 9.973 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.01532, allocations: 236.9 kB / 304.9 MB, free: 9.727 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.01534, allocations: 37.7 kB / 305 MB, free: 9.684 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.791e-05/0.01541, allocations: 177.2 kB / 305.2 MB, free: 9.508 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.585e-05/0.0155, allocations: 198.3 kB / 305.3 MB, free: 9.312 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.816e-05/0.01558, allocations: 98.25 kB / 305.4 MB, free: 9.207 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.553e-05/0.01566, allocations: 350.7 kB / 305.8 MB, free: 8.855 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.725e-05/0.01572, allocations: 53.28 kB / 305.8 MB, free: 8.805 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.01586, allocations: 227.9 kB / 306.1 MB, free: 8.504 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.0161, allocations: 345.4 kB / 306.4 MB, free: 8.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.0161, allocations: 3.938 kB / 306.4 MB, free: 8.086 MB / 298.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0002914/0.0164, allocations: 321.8 kB / 306.7 MB, free: 7.766 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.01641, allocations: 10.81 kB / 306.7 MB, free: 7.758 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.01642, allocations: 4 kB / 306.7 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.01643, allocations: 12 kB / 306.7 MB, free: 7.742 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/0.01676, allocations: 171.7 kB / 306.9 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.01677, allocations: 8 kB / 306.9 MB, free: 7.566 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.01688, allocations: 19.98 kB / 306.9 MB, free: 7.547 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.0169, allocations: 27.94 kB / 307 MB, free: 7.52 MB / 298.7 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 8.592e-05/0.01698, allocations: 149.7 kB / 307.1 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.698e-05/0.01706, allocations: 35.97 kB / 307.1 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.01718, allocations: 103.4 kB / 307.2 MB, free: 7.223 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.01718, allocations: 7.938 kB / 307.3 MB, free: 7.215 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.01719, allocations: 4 kB / 307.3 MB, free: 7.211 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.01719, allocations: 3.984 kB / 307.3 MB, free: 7.207 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008034/0.018, allocations: 0.898 MB / 308.2 MB, free: 6.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.018, allocations: 4 kB / 308.2 MB, free: 6.246 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003389/0.01834, allocations: 148.2 kB / 308.3 MB, free: 6.105 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/0.01837, allocations: 39.73 kB / 308.3 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.01838, allocations: 8.281 kB / 308.4 MB, free: 6.059 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.0184, allocations: 16 kB / 308.4 MB, free: 6.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.0184, allocations: 4.312 kB / 308.4 MB, free: 6.039 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.01841, allocations: 11.94 kB / 308.4 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004527/0.01886, allocations: 0.8126 MB / 309.2 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.01889, allocations: 15.98 kB / 309.2 MB, free: 5.141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.01907, allocations: 16 kB / 309.2 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.935e-05/0.01915, allocations: 39.81 kB / 309.3 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.01917, allocations: 16 kB / 309.3 MB, free: 5.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.76e-05/0.01923, allocations: 86.75 kB / 309.4 MB, free: 4.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01923, allocations: 0 / 309.4 MB, free: 4.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003755/0.0196, allocations: 104 kB / 309.5 MB, free: 4.879 MB / 298.7 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.0001069/0.01971, allocations: 100.2 kB / 309.6 MB, free: 4.773 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002642/0.01997, allocations: 249.8 kB / 309.8 MB, free: 4.535 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/0.01998, allocations: 4.281 kB / 309.8 MB, free: 4.531 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.02012, allocations: 153.5 kB / 310 MB, free: 4.379 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007829/0.02091, allocations: 0.8361 MB / 310.8 MB, free: 3.383 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.02297, allocations: 0.8859 MB / 311.7 MB, free: 2.422 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.726e-05/0.02306, allocations: 118 kB / 311.8 MB, free: 2.285 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.02318, allocations: 43.39 kB / 311.8 MB, free: 2.242 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.02334, allocations: 131.3 kB / 312 MB, free: 2.113 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02335, allocations: 0 / 312 MB, free: 2.113 MB / 298.7 MB Notification: Performance of Templates: time 0.006028/0.02937, allocations: 4.479 MB / 316.5 MB, free: 13.76 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.933756221085787]