Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002349/0.002349, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.35/0.35, allocations: 32.79 MB / 293.9 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 375.2 MB, free: 5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.309e-05/3.471e-05, allocations: 2.312 kB / 375.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004882/0.004916, allocations: 2.704 MB / 377.9 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.007156, allocations: 0.9581 MB / 378.9 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002668/0.007423, allocations: 7.938 kB / 378.9 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.007676, allocations: 59.39 kB / 379 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.008, allocations: 115 kB / 379.1 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005936/0.008594, allocations: 151.5 kB / 379.2 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005934/0.009187, allocations: 398 kB / 379.6 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.009378, allocations: 65.39 kB / 379.7 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003975/0.009775, allocations: 215.5 kB / 379.9 MB, free: 320 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002555/0.01003, allocations: 115.6 kB / 380 MB, free: 204 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.822e-05/0.0101, allocations: 28 kB / 380 MB, free: 176 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.01027, allocations: 47.97 kB / 380.1 MB, free: 128 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.424e-05/0.01036, allocations: 67.73 kB / 380.1 MB, free: 60 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002198/0.01058, allocations: 111.8 kB / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007039/0.01129, allocations: 386.7 kB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.01129, allocations: 0 / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.01129, allocations: 0 / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.756e-05/0.01131, allocations: 7.938 kB / 380.6 MB, free: 15.56 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001424/0.01273, allocations: 0.5558 MB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.01278, allocations: 8.031 kB / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000455/0.01323, allocations: 92.67 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005592/0.01379, allocations: 218.1 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.334e-05/0.01383, allocations: 29.03 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.672e-05/0.01392, allocations: 32.38 kB / 381.6 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006935/0.01462, allocations: 306.8 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.926e-05/0.01465, allocations: 8.141 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.877e-05/0.01469, allocations: 15.94 kB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.01471, allocations: 8 kB / 381.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004488/0.01516, allocations: 203.7 kB / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002267/0.01742, allocations: 1.142 MB / 383.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006117/0.01804, allocations: 320.8 kB / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.01822, allocations: 108.3 kB / 383.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.01825, allocations: 4.328 kB / 383.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/0.01829, allocations: 46.44 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 2.003e-06/0.01829, allocations: 0 / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.002908/0.0212, allocations: 1.246 MB / 384.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001513/0.02135, allocations: 162.2 kB / 385.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.02165, allocations: 217.7 kB / 385.3 MB, free: 10.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.02169, allocations: 33.7 kB / 385.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.02186, allocations: 188.5 kB / 385.5 MB, free: 10.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.02203, allocations: 158.6 kB / 385.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.02219, allocations: 82.16 kB / 385.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002337/0.02242, allocations: 346.8 kB / 386.1 MB, free: 9.672 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.02262, allocations: 88.95 kB / 386.2 MB, free: 9.586 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003639/0.02299, allocations: 246.9 kB / 386.4 MB, free: 9.277 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006267/0.02361, allocations: 374.6 kB / 386.8 MB, free: 8.848 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.02362, allocations: 4 kB / 386.8 MB, free: 8.844 MB / 362.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007897/0.02441, allocations: 445.4 kB / 387.2 MB, free: 8.402 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.02443, allocations: 4 kB / 387.2 MB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.02444, allocations: 8 kB / 387.2 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/0.02447, allocations: 4 kB / 387.3 MB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000424/0.02489, allocations: 119.8 kB / 387.4 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.121e-05/0.02491, allocations: 11.94 kB / 387.4 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.02513, allocations: 19.94 kB / 387.4 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.284e-05/0.02516, allocations: 16 kB / 387.4 MB, free: 8.223 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (62): * Single equations (assignments): 62 * 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.0001942/0.02535, allocations: 157.7 kB / 387.6 MB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.0255, allocations: 55.89 kB / 387.6 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002496/0.02575, allocations: 115.4 kB / 387.7 MB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.02576, allocations: 8 kB / 387.7 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.02577, allocations: 0 / 387.7 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.02578, allocations: 3.984 kB / 387.7 MB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.02751, allocations: 0.9397 MB / 388.7 MB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.02752, allocations: 4 kB / 388.7 MB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004751/0.02799, allocations: 95.89 kB / 388.8 MB, free: 6.777 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/0.028, allocations: 4 kB / 388.8 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.703e-05/0.02804, allocations: 16 kB / 388.8 MB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.709e-06/0.02805, allocations: 7.984 kB / 388.8 MB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-05/0.02806, allocations: 11.88 kB / 388.8 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.02912, allocations: 0.8347 MB / 389.7 MB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.387e-05/0.02918, allocations: 27.81 kB / 389.7 MB, free: 5.828 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.507e-05/0.02923, allocations: 20.08 kB / 389.7 MB, free: 5.809 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003254/0.02956, allocations: 12 kB / 389.7 MB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.641e-05/0.02962, allocations: 35.83 kB / 389.8 MB, free: 5.762 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.02965, allocations: 12 kB / 389.8 MB, free: 5.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001679/0.02982, allocations: 153.2 kB / 389.9 MB, free: 5.598 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02982, allocations: 4 kB / 389.9 MB, free: 5.594 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006025/0.03042, allocations: 84 kB / 390 MB, free: 5.512 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,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 (41): * Single equations (assignments): 41 * 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.0001504/0.03057, allocations: 107.1 kB / 390.1 MB, free: 5.395 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005685/0.03114, allocations: 276.2 kB / 390.4 MB, free: 5.125 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.03114, allocations: 0 / 390.4 MB, free: 5.125 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.03137, allocations: 123.7 kB / 390.5 MB, free: 5.004 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009529/0.03232, allocations: 85.3 kB / 390.6 MB, free: 4.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.03442, allocations: 1.017 MB / 391.6 MB, free: 3.848 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.03468, allocations: 181.6 kB / 391.8 MB, free: 3.648 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001759/0.03485, allocations: 39.28 kB / 391.8 MB, free: 3.613 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.03495, allocations: 28.5 kB / 391.8 MB, free: 3.586 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.03495, allocations: 0 / 391.8 MB, free: 3.586 MB / 362.7 MB Notification: Performance of Templates: time 0.008262/0.04321, allocations: 3.127 MB / 395 MB, free: 0.5234 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 4.903359593008645]