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.002608/0.002608, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.003077/0.003077, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 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 1.56/1.56, allocations: 177 MB / 204.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] 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.3445/0.3445, allocations: 34.25 MB / 295.2 MB, free: 0.6367 MB / 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.813e-06/1.813e-06, allocations: 0 / 377.2 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.079e-05, allocations: 3.859 kB / 377.2 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.005232/0.005262, allocations: 3.092 MB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002321/0.007584, allocations: 1.052 MB / 381.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002552/0.007839, allocations: 19.88 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.008066, allocations: 67.3 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002938/0.00836, allocations: 134.8 kB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006234/0.008983, allocations: 179.4 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005996/0.009583, allocations: 481.5 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.009805, allocations: 83.92 kB / 382.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003491/0.01015, allocations: 255.4 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002543/0.01041, allocations: 139.6 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.458e-05/0.01047, allocations: 32 kB / 382.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.01061, allocations: 47.98 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.01072, allocations: 87.64 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.01091, allocations: 135.7 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006528/0.01156, allocations: 470.4 kB / 383.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.01156, allocations: 0 / 383.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.01157, allocations: 4 kB / 383.4 MB, free: 12.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.01157, allocations: 0 / 383.4 MB, free: 12.67 MB / 362.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.001427/0.013, allocations: 0.7413 MB / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.01304, allocations: 8.031 kB / 384.2 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003775/0.01342, allocations: 96.62 kB / 384.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/0.01386, allocations: 239.5 kB / 384.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.157e-05/0.0139, allocations: 29.38 kB / 384.5 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.851e-05/0.01398, allocations: 44.31 kB / 384.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006961/0.01467, allocations: 381.1 kB / 384.9 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.896e-05/0.01471, allocations: 8.141 kB / 384.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.557e-05/0.01477, allocations: 19.94 kB / 385 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.01478, allocations: 8 kB / 385 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005202/0.0153, allocations: 235.6 kB / 385.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002987/0.01829, allocations: 1.728 MB / 386.9 MB, free: 8.973 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009238/0.01921, allocations: 450.7 kB / 387.4 MB, free: 8.457 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002878/0.0195, allocations: 154.1 kB / 387.5 MB, free: 8.281 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.988e-05/0.01954, allocations: 8 kB / 387.5 MB, free: 8.273 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/0.01959, allocations: 45.33 kB / 387.6 MB, free: 8.219 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.164e-06/0.01959, allocations: 0 / 387.6 MB, free: 8.219 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.003476/0.02307, allocations: 1.592 MB / 389.2 MB, free: 6.465 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001552/0.02322, allocations: 191.9 kB / 389.3 MB, free: 6.234 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003916/0.02361, allocations: 332.2 kB / 389.7 MB, free: 5.887 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.02365, allocations: 33.7 kB / 389.7 MB, free: 5.848 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/0.02387, allocations: 263.4 kB / 390 MB, free: 5.586 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.02406, allocations: 198.4 kB / 390.2 MB, free: 5.391 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.02425, allocations: 112 kB / 390.3 MB, free: 5.273 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003674/0.02461, allocations: 0.5469 MB / 390.8 MB, free: 4.715 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/0.02487, allocations: 113.2 kB / 390.9 MB, free: 4.605 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/0.0254, allocations: 382.6 kB / 391.3 MB, free: 4.125 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000814/0.02621, allocations: 0.5193 MB / 391.8 MB, free: 3.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.02621, allocations: 0 / 391.8 MB, free: 3.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009636/0.02718, allocations: 0.5168 MB / 392.3 MB, free: 2.977 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.0272, allocations: 11.98 kB / 392.3 MB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.02721, allocations: 4 kB / 392.3 MB, free: 2.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.02724, allocations: 8 kB / 392.4 MB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005179/0.02776, allocations: 139.8 kB / 392.5 MB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.248e-05/0.02778, allocations: 11.94 kB / 392.5 MB, free: 2.805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.02801, allocations: 20 kB / 392.5 MB, free: 2.785 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.275e-05/0.02806, allocations: 24.34 kB / 392.5 MB, free: 2.762 MB / 362.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 0.0002564/0.02831, allocations: 224.3 kB / 392.8 MB, free: 2.531 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.0285, allocations: 59.7 kB / 392.8 MB, free: 2.473 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005999/0.0291, allocations: 127.4 kB / 392.9 MB, free: 2.344 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.02911, allocations: 8 kB / 393 MB, free: 2.336 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.02912, allocations: 0 / 393 MB, free: 2.336 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.02913, allocations: 3.938 kB / 393 MB, free: 2.332 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/0.03146, allocations: 1.432 MB / 394.4 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.03147, allocations: 4 kB / 394.4 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005355/0.03201, allocations: 115.9 kB / 394.5 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/0.03202, allocations: 11.94 kB / 394.5 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/0.03205, allocations: 16 kB / 394.5 MB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.055e-05/0.03206, allocations: 7.938 kB / 394.5 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.03207, allocations: 4.312 kB / 394.5 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.03359, allocations: 1.308 MB / 395.9 MB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.311e-05/0.03366, allocations: 39.7 kB / 395.9 MB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.704e-05/0.03372, allocations: 23.92 kB / 395.9 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/0.03407, allocations: 16 kB / 395.9 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.808e-05/0.03417, allocations: 43.81 kB / 396 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.038e-05/0.0342, allocations: 16 kB / 396 MB, free: 15.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002312/0.03443, allocations: 221.1 kB / 396.2 MB, free: 14.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03443, allocations: 0 / 396.2 MB, free: 14.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006651/0.0351, allocations: 100 kB / 396.3 MB, free: 14.83 MB / 378.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.0001715/0.03527, allocations: 115.1 kB / 396.4 MB, free: 14.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007496/0.03602, allocations: 365.5 kB / 396.8 MB, free: 14.35 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.03602, allocations: 4.062 kB / 396.8 MB, free: 14.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003281/0.03635, allocations: 188.4 kB / 397 MB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.03737, allocations: 101.2 kB / 397.1 MB, free: 14.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.03966, allocations: 1.252 MB / 398.3 MB, free: 12.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.03994, allocations: 208.4 kB / 398.5 MB, free: 12.49 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001986/0.04014, allocations: 47.28 kB / 398.6 MB, free: 12.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.04025, allocations: 40.48 kB / 398.6 MB, free: 12.4 MB / 378.7 MB Notification: Performance of SimCode: time 7.82e-07/0.04025, allocations: 0 / 398.6 MB, free: 12.4 MB / 378.7 MB Notification: Performance of Templates: time 0.01014/0.05039, allocations: 3.837 MB / 402.4 MB, free: 8.629 MB / 378.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.05395995802246]