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.002543/0.002543, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.002919/0.002919, allocations: 165.3 kB / 24.28 MB, free: 148 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.65/1.65, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.3382/0.3382, allocations: 32.8 MB / 293.9 MB, free: 1.203 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 2.014e-06/2.014e-06, allocations: 0 / 375.2 MB, free: 5.027 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.746e-05/3.947e-05, allocations: 6.312 kB / 375.2 MB, free: 5.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.00515/0.005189, allocations: 2.859 MB / 378.1 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002057/0.007247, allocations: 0.9893 MB / 379.1 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.007411, allocations: 11.94 kB / 379.1 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001855/0.007596, allocations: 55.39 kB / 379.1 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.007826, allocations: 111 kB / 379.2 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005357/0.008362, allocations: 159.5 kB / 379.4 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004821/0.008844, allocations: 398 kB / 379.8 MB, free: 436 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.009023, allocations: 57.39 kB / 379.8 MB, free: 376 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000302/0.009325, allocations: 215.5 kB / 380.1 MB, free: 160 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002141/0.009539, allocations: 123.6 kB / 380.2 MB, free: 36 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.396e-05/0.009593, allocations: 28 kB / 380.2 MB, free: 8 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.009741, allocations: 44.03 kB / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.272e-05/0.009814, allocations: 71.69 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.00996, allocations: 111.8 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005729/0.01053, allocations: 390.7 kB / 380.8 MB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.01054, allocations: 4 kB / 380.8 MB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01054, allocations: 0 / 380.8 MB, free: 15.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.01054, allocations: 3.938 kB / 380.8 MB, free: 15.39 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.001171/0.01171, allocations: 0.6749 MB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.01176, allocations: 12.03 kB / 381.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003464/0.0121, allocations: 80.69 kB / 381.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/0.01249, allocations: 229 kB / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.01252, allocations: 21.03 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.294e-05/0.01258, allocations: 36.38 kB / 381.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005759/0.01316, allocations: 333 kB / 382.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.01318, allocations: 8.141 kB / 382.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.01321, allocations: 15.94 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.01322, allocations: 8 kB / 382.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004035/0.01363, allocations: 191.7 kB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00228/0.01591, allocations: 1.445 MB / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006504/0.01656, allocations: 371.3 kB / 384.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.01675, allocations: 118.4 kB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.01678, allocations: 8 kB / 384.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.01683, allocations: 45.33 kB / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 1.512e-06/0.01683, allocations: 0 / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.002827/0.01965, allocations: 1.296 MB / 385.7 MB, free: 10.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.01977, allocations: 158.2 kB / 385.8 MB, free: 9.941 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.02009, allocations: 296.3 kB / 386.1 MB, free: 9.633 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.02012, allocations: 37.7 kB / 386.2 MB, free: 9.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.0203, allocations: 235.2 kB / 386.4 MB, free: 9.355 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.02046, allocations: 166.6 kB / 386.5 MB, free: 9.191 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.02062, allocations: 103.8 kB / 386.6 MB, free: 9.082 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003079/0.02093, allocations: 0.5235 MB / 387.2 MB, free: 8.547 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.02112, allocations: 96.89 kB / 387.3 MB, free: 8.453 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003989/0.02152, allocations: 310.4 kB / 387.6 MB, free: 8.059 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000634/0.02216, allocations: 457.4 kB / 388 MB, free: 7.523 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.02216, allocations: 4 kB / 388 MB, free: 7.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007372/0.0229, allocations: 444.8 kB / 388.5 MB, free: 7.078 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.02292, allocations: 6.031 kB / 388.5 MB, free: 7.074 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.02293, allocations: 8 kB / 388.5 MB, free: 7.066 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.02295, allocations: 4 kB / 388.5 MB, free: 7.062 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004226/0.02338, allocations: 116.2 kB / 388.6 MB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-05/0.02339, allocations: 15.94 kB / 388.6 MB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.02358, allocations: 19.94 kB / 388.6 MB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.02362, allocations: 23.98 kB / 388.6 MB, free: 6.891 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.0002166/0.02384, allocations: 200.5 kB / 388.8 MB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.02399, allocations: 47.75 kB / 388.9 MB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002668/0.02426, allocations: 123.4 kB / 389 MB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.02426, allocations: 4 kB / 389 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.02427, allocations: 0 / 389 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.02427, allocations: 4 kB / 389 MB, free: 6.508 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/0.02619, allocations: 1.179 MB / 390.2 MB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.0262, allocations: 7.984 kB / 390.2 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004548/0.02666, allocations: 91.91 kB / 390.3 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.343e-06/0.02666, allocations: 4 kB / 390.3 MB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/0.0267, allocations: 20.23 kB / 390.3 MB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.0267, allocations: 8 kB / 390.3 MB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/0.02671, allocations: 12.11 kB / 390.3 MB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.02788, allocations: 1.087 MB / 391.4 MB, free: 3.961 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.02795, allocations: 39.73 kB / 391.5 MB, free: 3.922 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.677e-05/0.02799, allocations: 8 kB / 391.5 MB, free: 3.914 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/0.02828, allocations: 8 kB / 391.5 MB, free: 3.906 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/0.02834, allocations: 39.83 kB / 391.5 MB, free: 3.867 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.02837, allocations: 15.98 kB / 391.5 MB, free: 3.852 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001844/0.02855, allocations: 209.1 kB / 391.7 MB, free: 3.648 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02855, allocations: 0 / 391.7 MB, free: 3.648 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005594/0.02911, allocations: 84 kB / 391.8 MB, free: 3.566 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.0001427/0.02926, allocations: 107.2 kB / 391.9 MB, free: 3.449 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000558/0.02982, allocations: 297.6 kB / 392.2 MB, free: 3.156 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.02982, allocations: 64 / 392.2 MB, free: 3.156 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000242/0.03006, allocations: 151.4 kB / 392.4 MB, free: 3.004 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008834/0.03094, allocations: 77.19 kB / 392.4 MB, free: 2.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.03282, allocations: 1.061 MB / 393.5 MB, free: 1.789 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.03305, allocations: 185.6 kB / 393.7 MB, free: 1.586 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001546/0.03321, allocations: 43.25 kB / 393.7 MB, free: 1.547 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.53e-05/0.03329, allocations: 28.5 kB / 393.7 MB, free: 1.52 MB / 362.7 MB Notification: Performance of SimCode: time 7.02e-07/0.03329, allocations: 0 / 393.7 MB, free: 1.52 MB / 362.7 MB Notification: Performance of Templates: time 0.008423/0.04171, allocations: 3.138 MB / 396.9 MB, free: 14.43 MB / 378.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 240] 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: 5.080886826966889]