Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001087/0.001087, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001313/0.001313, allocations: 166.2 kB / 24.99 MB, free: 8.355 MB / 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.074/1.074, allocations: 177.1 MB / 205.3 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2591/0.2591, allocations: 34.25 MB / 296 MB, free: 0.7852 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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=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_4.1.0_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_4.1.0_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.851e-06/5.851e-06, allocations: 4 kB / 378 MB, free: 3.031 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.343e-05/4.928e-05, allocations: 2.312 kB / 378 MB, free: 3.027 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.00524/0.005289, allocations: 3.128 MB / 381.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.007054, allocations: 1.059 MB / 382.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.007303, allocations: 11.88 kB / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.007531, allocations: 63.38 kB / 382.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002303/0.007762, allocations: 138.8 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006498/0.008412, allocations: 179.4 kB / 382.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004825/0.008894, allocations: 481.5 kB / 383 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.009083, allocations: 75.98 kB / 383.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002489/0.009331, allocations: 259.4 kB / 383.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.009503, allocations: 143.6 kB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.218e-05/0.009545, allocations: 32 kB / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.009649, allocations: 47.98 kB / 383.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.703e-05/0.009706, allocations: 83.66 kB / 383.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.009812, allocations: 135.7 kB / 383.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003386/0.01015, allocations: 322.7 kB / 384.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.01016, allocations: 3.938 kB / 384.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.01016, allocations: 0 / 384.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.01017, allocations: 3.984 kB / 384.1 MB, free: 12.86 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.0008219/0.01099, allocations: 0.7143 MB / 384.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.01102, allocations: 12.03 kB / 384.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002618/0.01129, allocations: 100.6 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.0116, allocations: 247.4 kB / 385.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.01163, allocations: 25.38 kB / 385.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.716e-05/0.01168, allocations: 40.33 kB / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000384/0.01206, allocations: 337.7 kB / 385.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.01208, allocations: 8.141 kB / 385.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.0121, allocations: 19.94 kB / 385.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.01212, allocations: 12 kB / 385.6 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002305/0.01235, allocations: 154.8 kB / 385.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.01367, allocations: 1.599 MB / 387.4 MB, free: 9.418 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/0.01405, allocations: 366.9 kB / 387.7 MB, free: 8.984 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.01415, allocations: 114.3 kB / 387.8 MB, free: 8.848 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.01417, allocations: 15.94 kB / 387.8 MB, free: 8.832 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.0142, allocations: 49.31 kB / 387.9 MB, free: 8.773 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.054e-06/0.0142, allocations: 0 / 387.9 MB, free: 8.773 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.001886/0.01608, allocations: 1.427 MB / 389.3 MB, free: 7.184 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/0.01615, allocations: 187.9 kB / 389.5 MB, free: 6.957 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.01634, allocations: 300.2 kB / 389.8 MB, free: 6.645 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.01636, allocations: 37.7 kB / 389.8 MB, free: 6.602 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.01646, allocations: 247.4 kB / 390.1 MB, free: 6.355 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.634e-05/0.01656, allocations: 190.4 kB / 390.3 MB, free: 6.168 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.933e-05/0.01665, allocations: 104 kB / 390.4 MB, free: 6.059 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.01677, allocations: 0.5195 MB / 390.9 MB, free: 5.527 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.01688, allocations: 65.27 kB / 390.9 MB, free: 5.465 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.01709, allocations: 314.7 kB / 391.2 MB, free: 5.051 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/0.01744, allocations: 432.5 kB / 391.7 MB, free: 4.523 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.01744, allocations: 0 / 391.7 MB, free: 4.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0004446/0.01789, allocations: 440.6 kB / 392.1 MB, free: 4.086 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.0179, allocations: 8 kB / 392.1 MB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.01791, allocations: 8 kB / 392.1 MB, free: 4.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.01793, allocations: 8 kB / 392.1 MB, free: 4.062 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.0182, allocations: 136.2 kB / 392.3 MB, free: 3.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.01821, allocations: 15.94 kB / 392.3 MB, free: 3.914 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.01834, allocations: 23.98 kB / 392.3 MB, free: 3.891 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.01836, allocations: 24 kB / 392.3 MB, free: 3.867 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.0001084/0.01847, allocations: 196.3 kB / 392.5 MB, free: 3.664 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.483e-05/0.01856, allocations: 55.7 kB / 392.6 MB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/0.01873, allocations: 115.4 kB / 392.7 MB, free: 3.492 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.01873, allocations: 4 kB / 392.7 MB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.01874, allocations: 4 kB / 392.7 MB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.01875, allocations: 7.922 kB / 392.7 MB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.01986, allocations: 1.295 MB / 394 MB, free: 2.094 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.01987, allocations: 4 kB / 394 MB, free: 2.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/0.02015, allocations: 119.8 kB / 394.1 MB, free: 1.973 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.02016, allocations: 8.438 kB / 394.1 MB, free: 1.965 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.02018, allocations: 24 kB / 394.1 MB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.02018, allocations: 7.938 kB / 394.1 MB, free: 1.934 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.02019, allocations: 8 kB / 394.2 MB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006378/0.02082, allocations: 1.187 MB / 395.3 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.02086, allocations: 39.75 kB / 395.4 MB, free: 0.625 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.02089, allocations: 15.94 kB / 395.4 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.02108, allocations: 12 kB / 395.4 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.02114, allocations: 47.75 kB / 395.5 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.02116, allocations: 27.98 kB / 395.5 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001033/0.02126, allocations: 197.1 kB / 395.7 MB, free: 340 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.02126, allocations: 0 / 395.7 MB, free: 340 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004008/0.02166, allocations: 100 kB / 395.8 MB, free: 240 kB / 362.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 9.955e-05/0.02176, allocations: 111.1 kB / 395.9 MB, free: 120 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003607/0.02212, allocations: 282.2 kB / 396.2 MB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.02213, allocations: 0 / 396.2 MB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.02228, allocations: 144.3 kB / 396.3 MB, free: 15.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006365/0.02291, allocations: 90.55 kB / 396.4 MB, free: 15.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.02436, allocations: 1.22 MB / 397.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.999e-05/0.02445, allocations: 113.9 kB / 397.7 MB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.02458, allocations: 55.27 kB / 397.8 MB, free: 14.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.822e-05/0.02465, allocations: 36.5 kB / 397.8 MB, free: 14.07 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.02465, allocations: 0 / 397.8 MB, free: 14.07 MB / 378.7 MB Notification: Performance of Templates: time 0.005994/0.03065, allocations: 3.848 MB / 401.7 MB, free: 10.29 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.253425240982324]