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.001327/0.001327, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.00138/0.00138, allocations: 169.5 kB / 24.91 MB, free: 8.758 MB / 18.57 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 0.9427/0.9427, allocations: 177 MB / 205.2 MB, free: 5.039 MB / 186.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.2539/0.2539, allocations: 34.87 MB / 296.6 MB, free: 452 kB / 266.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.473e-06/1.473e-06, allocations: 0 / 325.9 MB, free: 7.227 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.363e-05, allocations: 7.562 kB / 325.9 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003155/0.003178, allocations: 3.109 MB / 329 MB, free: 4.094 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.004796, allocations: 1.079 MB / 330.1 MB, free: 3.012 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.004975, allocations: 11.94 kB / 330.1 MB, free: 3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001555/0.005131, allocations: 63.31 kB / 330.1 MB, free: 2.938 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.005332, allocations: 142.8 kB / 330.3 MB, free: 2.797 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004808/0.005812, allocations: 179.4 kB / 330.5 MB, free: 2.621 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003982/0.00621, allocations: 485.5 kB / 330.9 MB, free: 2.145 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.006357, allocations: 88.61 kB / 331 MB, free: 2.047 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002614/0.006618, allocations: 247.5 kB / 331.3 MB, free: 1.805 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.006776, allocations: 147.5 kB / 331.4 MB, free: 1.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.609e-05/0.006812, allocations: 28 kB / 331.4 MB, free: 1.633 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.006924, allocations: 51.98 kB / 331.5 MB, free: 1.582 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.63e-05/0.007, allocations: 83.66 kB / 331.6 MB, free: 1.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.754e-05/0.007098, allocations: 143.7 kB / 331.7 MB, free: 1.359 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003089/0.007407, allocations: 314.8 kB / 332 MB, free: 1.051 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.007409, allocations: 0 / 332 MB, free: 1.051 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.00741, allocations: 0 / 332 MB, free: 1.051 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.007415, allocations: 0 / 332 MB, free: 1.051 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.0006618/0.008077, allocations: 0.6026 MB / 332.6 MB, free: 432 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.00811, allocations: 12.03 kB / 332.6 MB, free: 420 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002154/0.008326, allocations: 84.86 kB / 332.7 MB, free: 336 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.008571, allocations: 216.6 kB / 332.9 MB, free: 92 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.008594, allocations: 29.31 kB / 332.9 MB, free: 64 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.546e-05/0.008639, allocations: 44.31 kB / 333 MB, free: 20 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.008951, allocations: 292.8 kB / 333.3 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.008968, allocations: 12.12 kB / 333.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.008989, allocations: 23.94 kB / 333.3 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.008998, allocations: 11.94 kB / 333.3 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.009155, allocations: 117.7 kB / 333.4 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.01025, allocations: 1.169 MB / 334.6 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.01056, allocations: 280.7 kB / 334.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.233e-05/0.01063, allocations: 77.14 kB / 335 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.01065, allocations: 8 kB / 335 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.01068, allocations: 46.44 kB / 335 MB, free: 13.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 1.823e-06/0.01068, allocations: 4 kB / 335 MB, free: 13.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.001321/0.012, allocations: 1.113 MB / 336.1 MB, free: 12.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.01206, allocations: 191.9 kB / 336.3 MB, free: 12.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.0122, allocations: 236.9 kB / 336.5 MB, free: 12.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.01221, allocations: 33.7 kB / 336.6 MB, free: 12.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.441e-05/0.01229, allocations: 177.2 kB / 336.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.726e-05/0.01239, allocations: 198.3 kB / 336.9 MB, free: 11.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.645e-05/0.01247, allocations: 102.2 kB / 337 MB, free: 11.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.01257, allocations: 350.7 kB / 337.4 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.844e-05/0.01262, allocations: 49.28 kB / 337.4 MB, free: 11.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.01277, allocations: 227.9 kB / 337.7 MB, free: 10.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.01304, allocations: 344.9 kB / 338 MB, free: 10.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.01304, allocations: 7.875 kB / 338 MB, free: 10.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0003365/0.01338, allocations: 313.2 kB / 338.3 MB, free: 10.14 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.01339, allocations: 11.98 kB / 338.3 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.0134, allocations: 4 kB / 338.3 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.01342, allocations: 12 kB / 338.3 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.01367, allocations: 139.8 kB / 338.5 MB, free: 9.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.01368, allocations: 12.06 kB / 338.5 MB, free: 9.969 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.0138, allocations: 16 kB / 338.5 MB, free: 9.953 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.01381, allocations: 20.41 kB / 338.5 MB, free: 9.934 MB / 314.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 9.604e-05/0.01391, allocations: 161.5 kB / 338.7 MB, free: 9.766 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.415e-05/0.01399, allocations: 39.97 kB / 338.7 MB, free: 9.727 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.01412, allocations: 103.4 kB / 338.8 MB, free: 9.617 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.01412, allocations: 8 kB / 338.8 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.01413, allocations: 0 / 338.8 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.01413, allocations: 3.984 kB / 338.8 MB, free: 9.605 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008917/0.01502, allocations: 0.9059 MB / 339.7 MB, free: 8.641 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.01503, allocations: 4 kB / 339.7 MB, free: 8.637 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/0.01529, allocations: 111.9 kB / 339.8 MB, free: 8.527 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.0153, allocations: 7.984 kB / 339.9 MB, free: 8.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.01532, allocations: 19.98 kB / 339.9 MB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.01533, allocations: 11.94 kB / 339.9 MB, free: 8.488 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.01533, allocations: 8.25 kB / 339.9 MB, free: 8.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004769/0.01581, allocations: 0.8127 MB / 340.7 MB, free: 7.605 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.01584, allocations: 31.75 kB / 340.7 MB, free: 7.574 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.01587, allocations: 19.98 kB / 340.8 MB, free: 7.555 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.01606, allocations: 8 kB / 340.8 MB, free: 7.547 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.01611, allocations: 47.81 kB / 340.8 MB, free: 7.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.01612, allocations: 16 kB / 340.8 MB, free: 7.484 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.055e-05/0.01618, allocations: 82.75 kB / 340.9 MB, free: 7.402 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01618, allocations: 0 / 340.9 MB, free: 7.402 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003916/0.01657, allocations: 100 kB / 341 MB, free: 7.305 MB / 314.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.0001063/0.01668, allocations: 100.2 kB / 341.1 MB, free: 7.199 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002571/0.01694, allocations: 240.6 kB / 341.3 MB, free: 6.965 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.01694, allocations: 4 kB / 341.3 MB, free: 6.961 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.01704, allocations: 125.5 kB / 341.5 MB, free: 6.836 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005547/0.0176, allocations: 87.83 kB / 341.5 MB, free: 6.758 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.01875, allocations: 0.9266 MB / 342.5 MB, free: 5.762 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.708e-05/0.01884, allocations: 117.9 kB / 342.6 MB, free: 5.629 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.01896, allocations: 47.28 kB / 342.6 MB, free: 5.582 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.01912, allocations: 135.3 kB / 342.8 MB, free: 5.449 MB / 314.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01912, allocations: 0 / 342.8 MB, free: 5.449 MB / 314.7 MB Notification: Performance of Templates: time 0.006288/0.0254, allocations: 4.187 MB / 347 MB, free: 1.359 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 -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: 3.084527608938515]