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.001961/0.001961, allocations: 96.97 kB / 20.21 MB, free: 4.211 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.002054/0.002054, allocations: 169.2 kB / 23.53 MB, free: 0.8984 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.459/1.459, allocations: 158.6 MB / 185.3 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] 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.2075/0.2075, allocations: 32.37 MB / 270 MB, free: 14.77 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.245e-06/2.245e-06, allocations: 4 kB / 346.9 MB, free: 9.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.968e-05, allocations: 2.312 kB / 346.9 MB, free: 9.836 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003163/0.003193, allocations: 2.75 MB / 349.7 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.004666, allocations: 0.9667 MB / 350.6 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.004842, allocations: 7.938 kB / 350.6 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.005001, allocations: 55.44 kB / 350.7 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.005184, allocations: 114.9 kB / 350.8 MB, free: 5.922 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.005604, allocations: 147.5 kB / 350.9 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003116/0.005915, allocations: 394 kB / 351.3 MB, free: 5.391 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.006063, allocations: 57.39 kB / 351.4 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.006257, allocations: 215.5 kB / 351.6 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.006438, allocations: 119.6 kB / 351.7 MB, free: 5.012 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.28e-05/0.006481, allocations: 24 kB / 351.7 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.006586, allocations: 43.98 kB / 351.8 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.988e-05/0.006635, allocations: 71.73 kB / 351.8 MB, free: 4.875 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.006765, allocations: 107.8 kB / 351.9 MB, free: 4.77 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004043/0.00717, allocations: 382.8 kB / 352.3 MB, free: 4.395 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.007172, allocations: 0 / 352.3 MB, free: 4.395 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.007174, allocations: 0 / 352.3 MB, free: 4.395 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.007181, allocations: 0 / 352.3 MB, free: 4.395 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.0009008/0.008081, allocations: 0.6749 MB / 353 MB, free: 3.684 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.008116, allocations: 8.031 kB / 353 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002532/0.00837, allocations: 76.69 kB / 353.1 MB, free: 3.602 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.008641, allocations: 228 kB / 353.3 MB, free: 3.352 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.008663, allocations: 24.97 kB / 353.3 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/0.008712, allocations: 36.33 kB / 353.4 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003938/0.009106, allocations: 325.4 kB / 353.7 MB, free: 2.945 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.009127, allocations: 192 / 353.7 MB, free: 2.945 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.009152, allocations: 15.94 kB / 353.7 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.009159, allocations: 8 kB / 353.7 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003112/0.009471, allocations: 191.8 kB / 353.9 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/0.01096, allocations: 1.437 MB / 355.3 MB, free: 1.211 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004266/0.01138, allocations: 371.4 kB / 355.7 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.01151, allocations: 118.3 kB / 355.8 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.01154, allocations: 8 kB / 355.8 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.01157, allocations: 49.33 kB / 355.9 MB, free: 0.582 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.733e-06/0.01157, allocations: 336 / 355.9 MB, free: 0.582 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.002478/0.01405, allocations: 1.271 MB / 357.1 MB, free: 15.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.01417, allocations: 166.2 kB / 357.3 MB, free: 14.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003118/0.01448, allocations: 292.3 kB / 357.6 MB, free: 14.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.908e-05/0.01453, allocations: 37.7 kB / 357.6 MB, free: 14.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.01474, allocations: 231.2 kB / 357.8 MB, free: 14.4 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.01491, allocations: 166.6 kB / 358 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.01508, allocations: 103.8 kB / 358.1 MB, free: 14.13 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003478/0.01543, allocations: 0.5235 MB / 358.6 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.01564, allocations: 96.95 kB / 358.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004248/0.01607, allocations: 314.3 kB / 359 MB, free: 13.1 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006585/0.01673, allocations: 450.3 kB / 359.5 MB, free: 12.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01673, allocations: 0 / 359.5 MB, free: 12.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007799/0.01751, allocations: 444.8 kB / 359.9 MB, free: 12.13 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.01753, allocations: 8 kB / 359.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.01754, allocations: 4 kB / 359.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.035e-05/0.01757, allocations: 8 kB / 359.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/0.01801, allocations: 115.8 kB / 360 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.01802, allocations: 8.312 kB / 360 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.01822, allocations: 23.98 kB / 360.1 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/0.01825, allocations: 20 kB / 360.1 MB, free: 11.95 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.0002567/0.01851, allocations: 208.3 kB / 360.3 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.01865, allocations: 43.81 kB / 360.3 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/0.01893, allocations: 123.4 kB / 360.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.01894, allocations: 4 kB / 360.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.01895, allocations: 0 / 360.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.01896, allocations: 4 kB / 360.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/0.02086, allocations: 1.175 MB / 361.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.02087, allocations: 0 / 361.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004585/0.02133, allocations: 103.8 kB / 361.7 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-06/0.02133, allocations: 7.938 kB / 361.8 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/0.02137, allocations: 11.98 kB / 361.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.555e-06/0.02138, allocations: 4 kB / 361.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.02138, allocations: 4.25 kB / 361.8 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.0226, allocations: 1.087 MB / 362.9 MB, free: 9.023 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-05/0.02267, allocations: 31.78 kB / 362.9 MB, free: 8.992 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.077e-05/0.02273, allocations: 12 kB / 362.9 MB, free: 8.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.02302, allocations: 15.98 kB / 362.9 MB, free: 8.965 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.02308, allocations: 31.89 kB / 362.9 MB, free: 8.934 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.02311, allocations: 15.94 kB / 363 MB, free: 8.918 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002163/0.02332, allocations: 205.1 kB / 363.2 MB, free: 8.715 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02332, allocations: 0 / 363.2 MB, free: 8.715 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006052/0.02393, allocations: 84 kB / 363.2 MB, free: 8.633 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 0.0001825/0.02411, allocations: 119.1 kB / 363.4 MB, free: 8.508 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006315/0.02474, allocations: 296.7 kB / 363.7 MB, free: 8.215 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.02474, allocations: 4.75 kB / 363.7 MB, free: 8.211 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003053/0.02505, allocations: 153 kB / 363.8 MB, free: 8.059 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009019/0.02595, allocations: 71.75 kB / 363.9 MB, free: 7.992 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.02792, allocations: 1.06 MB / 364.9 MB, free: 6.852 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.02815, allocations: 177.6 kB / 365.1 MB, free: 6.664 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001873/0.02834, allocations: 43.27 kB / 365.1 MB, free: 6.617 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.643e-05/0.02842, allocations: 28.5 kB / 365.2 MB, free: 6.59 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.02843, allocations: 0 / 365.2 MB, free: 6.59 MB / 298.7 MB Notification: Performance of Templates: time 0.008533/0.03696, allocations: 3.114 MB / 368.3 MB, free: 3.527 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.992327454965562]