Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008398/0.0008398, allocations: 91.33 kB / 20.43 MB, free: 4.137 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.0008785/0.0008785, allocations: 165 kB / 23.8 MB, free: 0.7695 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.032/1.032, allocations: 158.6 MB / 185.7 MB, free: 2.473 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1285/0.1285, allocations: 32.38 MB / 270.4 MB, free: 14.67 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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",fileNamePrefix="ModelicaTest_3.2.3_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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 347.6 MB, free: 9.484 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.593e-05, allocations: 6.25 kB / 347.6 MB, free: 9.477 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.002592/0.002618, allocations: 2.786 MB / 350.4 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.003864, allocations: 0.9783 MB / 351.4 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.004005, allocations: 11.94 kB / 351.4 MB, free: 5.68 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.004165, allocations: 51.44 kB / 351.5 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.004307, allocations: 115 kB / 351.6 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004188/0.004726, allocations: 151.5 kB / 351.7 MB, free: 5.367 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002966/0.005022, allocations: 393.9 kB / 352.1 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.005173, allocations: 65.39 kB / 352.2 MB, free: 4.922 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.005317, allocations: 207.5 kB / 352.4 MB, free: 4.719 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.005458, allocations: 111.7 kB / 352.5 MB, free: 4.609 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.835e-05/0.005497, allocations: 32 kB / 352.5 MB, free: 4.578 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.578e-05/0.005582, allocations: 43.98 kB / 352.5 MB, free: 4.535 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.134e-05/0.005624, allocations: 63.73 kB / 352.6 MB, free: 4.473 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.435e-05/0.005698, allocations: 111.8 kB / 352.7 MB, free: 4.363 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.005983, allocations: 267 kB / 353 MB, free: 4.102 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.005986, allocations: 0 / 353 MB, free: 4.102 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.005987, allocations: 3.938 kB / 353 MB, free: 4.098 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.005994, allocations: 0 / 353 MB, free: 4.098 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0006547/0.006648, allocations: 0.6596 MB / 353.6 MB, free: 3.402 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.006692, allocations: 8.031 kB / 353.7 MB, free: 3.395 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002093/0.006902, allocations: 76.69 kB / 353.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.007098, allocations: 224 kB / 353.9 MB, free: 3.074 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.007113, allocations: 21.03 kB / 354 MB, free: 3.055 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.169e-05/0.007155, allocations: 36.33 kB / 354 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.007436, allocations: 261.4 kB / 354.3 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.007455, allocations: 4.188 kB / 354.3 MB, free: 2.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.007478, allocations: 15.94 kB / 354.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.007491, allocations: 8 kB / 354.3 MB, free: 2.707 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.007682, allocations: 131.8 kB / 354.4 MB, free: 2.578 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.008711, allocations: 1.351 MB / 355.8 MB, free: 1.141 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.009018, allocations: 295.3 kB / 356.1 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.782e-05/0.009096, allocations: 98.28 kB / 356.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.009116, allocations: 12.33 kB / 356.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.009132, allocations: 45.84 kB / 356.2 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.703e-06/0.009134, allocations: 3.938 kB / 356.2 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.001342/0.01048, allocations: 1.154 MB / 357.4 MB, free: 15.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.457e-05/0.01055, allocations: 166.2 kB / 357.5 MB, free: 15.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.01073, allocations: 272.2 kB / 357.8 MB, free: 14.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.01075, allocations: 29.7 kB / 357.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.01089, allocations: 227.3 kB / 358 MB, free: 14.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.01099, allocations: 150.7 kB / 358.2 MB, free: 14.42 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.976e-05/0.01109, allocations: 91.8 kB / 358.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.01129, allocations: 0.5117 MB / 358.8 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.168e-05/0.01139, allocations: 56.95 kB / 358.8 MB, free: 13.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.01158, allocations: 262.4 kB / 359.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003394/0.01192, allocations: 370.2 kB / 359.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.01193, allocations: 0 / 359.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0003963/0.01232, allocations: 368.8 kB / 359.8 MB, free: 12.58 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.01234, allocations: 8 kB / 359.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.01235, allocations: 4 kB / 359.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.01237, allocations: 8 kB / 359.8 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.01259, allocations: 116.2 kB / 360 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.0126, allocations: 12 kB / 360 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.421e-05/0.0127, allocations: 23.94 kB / 360 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.01272, allocations: 20 kB / 360 MB, free: 12.39 MB / 298.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.0001196/0.01284, allocations: 188.4 kB / 360.2 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.458e-05/0.01292, allocations: 47.8 kB / 360.2 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.01306, allocations: 103.4 kB / 360.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.01306, allocations: 8 kB / 360.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.01307, allocations: 0 / 360.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.01308, allocations: 7.984 kB / 360.4 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009072/0.01399, allocations: 1.074 MB / 361.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.01399, allocations: 4 kB / 361.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/0.01422, allocations: 95.89 kB / 361.5 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.01423, allocations: 11.94 kB / 361.5 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.01425, allocations: 8 kB / 361.6 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.01425, allocations: 8.188 kB / 361.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.01425, allocations: 8 kB / 361.6 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006155/0.01487, allocations: 0.9927 MB / 362.6 MB, free: 9.688 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.067e-05/0.0149, allocations: 39.67 kB / 362.6 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.01493, allocations: 8 kB / 362.6 MB, free: 9.641 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.01507, allocations: 15.98 kB / 362.6 MB, free: 9.625 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.01511, allocations: 35.89 kB / 362.7 MB, free: 9.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.01513, allocations: 15.94 kB / 362.7 MB, free: 9.574 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.978e-05/0.01521, allocations: 181.1 kB / 362.8 MB, free: 9.395 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01521, allocations: 4 kB / 362.9 MB, free: 9.391 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003426/0.01556, allocations: 80 kB / 362.9 MB, free: 9.312 MB / 298.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 8.811e-05/0.01565, allocations: 111.2 kB / 363 MB, free: 9.195 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002878/0.01593, allocations: 230 kB / 363.3 MB, free: 8.969 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.01594, allocations: 0 / 363.3 MB, free: 8.969 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.01604, allocations: 121.2 kB / 363.4 MB, free: 8.848 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005114/0.01655, allocations: 79.05 kB / 363.5 MB, free: 8.773 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.01782, allocations: 1.036 MB / 364.5 MB, free: 7.656 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.432e-05/0.01791, allocations: 105.1 kB / 364.6 MB, free: 7.535 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.01801, allocations: 43.27 kB / 364.6 MB, free: 7.492 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.264e-05/0.01807, allocations: 28.5 kB / 364.7 MB, free: 7.465 MB / 298.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01807, allocations: 0 / 364.7 MB, free: 7.465 MB / 298.7 MB Notification: Performance of Templates: time 0.005076/0.02315, allocations: 3.264 MB / 367.9 MB, free: 4.25 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.20691518811509]