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.0008055/0.0008055, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001086/0.001891, allocations: 449.7 kB / 10.37 MB, free: 324 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.000739/0.000739, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009332/0.001672, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.029/1.029, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09691/1.126, allocations: 53.87 MB / 243.7 MB, free: 14.91 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.2337/0.2337, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02037/0.254, allocations: 13.23 MB / 292.6 MB, free: 6.477 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.523e-06/1.523e-06, allocations: 0 / 293.8 MB, free: 5.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.129e-05/1.281e-05, allocations: 4.562 kB / 293.8 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004038/0.00405, allocations: 3.157 MB / 297 MB, free: 2.059 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.005816, allocations: 1.091 MB / 298.1 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.005971, allocations: 7.938 kB / 298.1 MB, free: 0.957 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.006113, allocations: 67.36 kB / 298.2 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.006358, allocations: 138.8 kB / 298.3 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.006658, allocations: 183.3 kB / 298.5 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003327/0.006991, allocations: 477.7 kB / 298.9 MB, free: 108 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.007124, allocations: 76.62 kB / 299 MB, free: 20 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002489/0.007372, allocations: 287.8 kB / 299.3 MB, free: 15.74 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.00751, allocations: 139.6 kB / 299.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.579e-05/0.007546, allocations: 32 kB / 299.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.007657, allocations: 51.98 kB / 299.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.068e-05/0.007698, allocations: 59.75 kB / 299.6 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.35e-05/0.007781, allocations: 115.8 kB / 299.7 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.008049, allocations: 290.9 kB / 300 MB, free: 15.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.159e-05/0.00806, allocations: 0 / 300 MB, free: 15.06 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.008061, allocations: 4 kB / 300 MB, free: 15.06 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.008073, allocations: 0 / 300 MB, free: 15.06 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.0007056/0.008778, allocations: 0.6841 MB / 300.6 MB, free: 14.35 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.008808, allocations: 8.922 kB / 300.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002251/0.009033, allocations: 169.9 kB / 300.8 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.009253, allocations: 220.6 kB / 301 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.009275, allocations: 25.38 kB / 301.1 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.96e-05/0.009314, allocations: 44.33 kB / 301.1 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.009576, allocations: 304.6 kB / 301.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.009598, allocations: 12.12 kB / 301.4 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.009615, allocations: 19.94 kB / 301.4 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.009623, allocations: 8 kB / 301.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.009764, allocations: 115 kB / 301.6 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009484/0.01071, allocations: 1.177 MB / 302.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.01098, allocations: 289.6 kB / 303 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.792e-05/0.01105, allocations: 73.14 kB / 303.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.01107, allocations: 12 kB / 303.1 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.01109, allocations: 50.42 kB / 303.1 MB, free: 11.63 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.433e-06/0.01109, allocations: 0 / 303.1 MB, free: 11.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.001329/0.01242, allocations: 1.113 MB / 304.3 MB, free: 10.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.01248, allocations: 187.9 kB / 304.4 MB, free: 10.15 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.01261, allocations: 240.9 kB / 304.7 MB, free: 9.902 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.01263, allocations: 33.7 kB / 304.7 MB, free: 9.863 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.615e-05/0.0127, allocations: 193.1 kB / 304.9 MB, free: 9.672 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.881e-05/0.01279, allocations: 182.4 kB / 305.1 MB, free: 9.492 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-05/0.01288, allocations: 106.2 kB / 305.2 MB, free: 9.379 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.804e-05/0.01298, allocations: 350.7 kB / 305.5 MB, free: 9.027 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.006e-05/0.01304, allocations: 45.28 kB / 305.6 MB, free: 8.984 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.01318, allocations: 227.9 kB / 305.8 MB, free: 8.684 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002556/0.01344, allocations: 344.1 kB / 306.1 MB, free: 8.273 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.01344, allocations: 7.938 kB / 306.1 MB, free: 8.266 MB / 298.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0002905/0.01373, allocations: 312.9 kB / 306.4 MB, free: 7.953 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.01375, allocations: 7.938 kB / 306.4 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.01376, allocations: 8 kB / 306.5 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.01377, allocations: 8 kB / 306.5 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/0.01409, allocations: 178.6 kB / 306.6 MB, free: 7.758 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.0141, allocations: 11.94 kB / 306.7 MB, free: 7.746 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.0142, allocations: 20 kB / 306.7 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.01422, allocations: 23.92 kB / 306.7 MB, free: 7.703 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.706e-05/0.01431, allocations: 149.7 kB / 306.8 MB, free: 7.547 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.711e-05/0.01439, allocations: 35.97 kB / 306.9 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.0145, allocations: 103.9 kB / 307 MB, free: 7.402 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.0145, allocations: 8 kB / 307 MB, free: 7.395 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.01451, allocations: 0 / 307 MB, free: 7.395 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.01451, allocations: 7.984 kB / 307 MB, free: 7.387 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008047/0.01532, allocations: 0.8937 MB / 307.9 MB, free: 6.438 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.01532, allocations: 4.188 kB / 307.9 MB, free: 6.434 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/0.01562, allocations: 150.2 kB / 308 MB, free: 6.289 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.898e-05/0.01565, allocations: 43.75 kB / 308.1 MB, free: 6.246 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.01565, allocations: 7.984 kB / 308.1 MB, free: 6.238 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.01567, allocations: 15.98 kB / 308.1 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.01568, allocations: 7.938 kB / 308.1 MB, free: 6.215 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.01568, allocations: 8 kB / 308.1 MB, free: 6.207 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004141/0.01609, allocations: 0.8126 MB / 308.9 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.01612, allocations: 19.88 kB / 309 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.0163, allocations: 23.98 kB / 309 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.01635, allocations: 39.88 kB / 309 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.01636, allocations: 12 kB / 309 MB, free: 5.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.79e-05/0.01641, allocations: 74.78 kB / 309.1 MB, free: 5.176 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01641, allocations: 0 / 309.1 MB, free: 5.176 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003585/0.01676, allocations: 100 kB / 309.2 MB, free: 5.078 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 7.729e-05/0.01684, allocations: 104.2 kB / 309.3 MB, free: 4.969 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002281/0.01707, allocations: 245.9 kB / 309.5 MB, free: 4.727 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/0.01708, allocations: 4 kB / 309.5 MB, free: 4.723 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.934e-05/0.01718, allocations: 127 kB / 309.7 MB, free: 4.598 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005276/0.01771, allocations: 128.2 kB / 309.8 MB, free: 4.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.01973, allocations: 0.8795 MB / 310.7 MB, free: 3.527 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.342e-05/0.01981, allocations: 113.9 kB / 310.8 MB, free: 3.395 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.01993, allocations: 55.27 kB / 310.8 MB, free: 3.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.02009, allocations: 127.3 kB / 311 MB, free: 3.215 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.02009, allocations: 0 / 311 MB, free: 3.215 MB / 298.7 MB Notification: Performance of Templates: time 0.006152/0.02624, allocations: 4.593 MB / 315.6 MB, free: 14.74 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.91133174020797]