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.001244/0.001244, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.001419/0.001419, allocations: 173.9 kB / 23.96 MB, free: 0.5977 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 0.9234/0.9234, allocations: 158.6 MB / 185.7 MB, free: 3.035 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.1503/0.1503, allocations: 32.37 MB / 270.4 MB, free: 14.96 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 1.984e-06/1.984e-06, allocations: 0 / 408.1 MB, free: 1.766 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.061e-05/3.259e-05, allocations: 6.078 kB / 408.1 MB, free: 1.762 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003213/0.003245, allocations: 2.585 MB / 410.7 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.004524, allocations: 0.9355 MB / 411.6 MB, free: 14.22 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.004675, allocations: 11.88 kB / 411.6 MB, free: 14.21 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001671/0.004842, allocations: 59.44 kB / 411.7 MB, free: 14.15 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.004981, allocations: 119 kB / 411.8 MB, free: 14.03 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004462/0.005427, allocations: 143.5 kB / 411.9 MB, free: 13.89 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004285/0.005855, allocations: 398 kB / 412.3 MB, free: 13.5 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002039/0.006059, allocations: 61.39 kB / 412.4 MB, free: 13.44 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002546/0.006314, allocations: 215.5 kB / 412.6 MB, free: 13.23 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.006499, allocations: 107.7 kB / 412.7 MB, free: 13.12 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003795/0.006879, allocations: 28 kB / 412.7 MB, free: 13.1 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.006997, allocations: 43.98 kB / 412.8 MB, free: 13.05 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.394e-05/0.007051, allocations: 67.73 kB / 412.8 MB, free: 12.99 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.00716, allocations: 111.7 kB / 412.9 MB, free: 12.88 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004671/0.007627, allocations: 378.7 kB / 413.3 MB, free: 12.51 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.007631, allocations: 0 / 413.3 MB, free: 12.51 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.007632, allocations: 0 / 413.3 MB, free: 12.51 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.007639, allocations: 0 / 413.3 MB, free: 12.51 MB / 394.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.0009019/0.008541, allocations: 0.5519 MB / 413.8 MB, free: 11.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.008587, allocations: 8.031 kB / 413.9 MB, free: 11.92 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002088/0.008796, allocations: 60.62 kB / 413.9 MB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.009158, allocations: 213 kB / 414.1 MB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.009187, allocations: 21.03 kB / 414.1 MB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.48e-05/0.009252, allocations: 36.33 kB / 414.2 MB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004297/0.009681, allocations: 295.3 kB / 414.5 MB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.009705, allocations: 8.141 kB / 414.5 MB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.009733, allocations: 15.94 kB / 414.5 MB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.009741, allocations: 8 kB / 414.5 MB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/0.01, allocations: 199.8 kB / 414.7 MB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.01125, allocations: 1.142 MB / 415.8 MB, free: 9.816 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.01167, allocations: 313 kB / 416.1 MB, free: 9.465 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.01179, allocations: 112.8 kB / 416.3 MB, free: 9.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.01182, allocations: 15.92 kB / 416.3 MB, free: 9.324 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.01184, allocations: 46.56 kB / 416.3 MB, free: 9.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=36): time 1.853e-06/0.01184, allocations: 0 / 416.3 MB, free: 9.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.001518/0.01336, allocations: 1.203 MB / 417.5 MB, free: 7.949 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.638e-05/0.01344, allocations: 158.2 kB / 417.7 MB, free: 7.758 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.0136, allocations: 217.7 kB / 417.9 MB, free: 7.535 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.01362, allocations: 33.7 kB / 417.9 MB, free: 7.496 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.876e-05/0.01371, allocations: 188.5 kB / 418.1 MB, free: 7.305 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.925e-05/0.01379, allocations: 154.7 kB / 418.3 MB, free: 7.152 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.67e-05/0.01387, allocations: 82.19 kB / 418.3 MB, free: 7.066 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.01398, allocations: 342.8 kB / 418.7 MB, free: 6.723 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.01409, allocations: 96.95 kB / 418.8 MB, free: 6.629 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.01426, allocations: 254.9 kB / 419 MB, free: 6.312 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003268/0.01459, allocations: 370.2 kB / 419.4 MB, free: 5.887 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01459, allocations: 0 / 419.4 MB, free: 5.887 MB / 394.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006737/0.01527, allocations: 412.9 kB / 419.8 MB, free: 5.477 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.01528, allocations: 8 kB / 419.8 MB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.01529, allocations: 4.375 kB / 419.8 MB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.01531, allocations: 12 kB / 419.8 MB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.01551, allocations: 115.8 kB / 419.9 MB, free: 5.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.01552, allocations: 8 kB / 419.9 MB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.944e-05/0.01561, allocations: 15.95 kB / 419.9 MB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.01563, allocations: 23.98 kB / 420 MB, free: 5.293 MB / 394.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.0001013/0.01573, allocations: 165.6 kB / 420.1 MB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.914e-05/0.01579, allocations: 27.8 kB / 420.1 MB, free: 5.094 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001491/0.01594, allocations: 123.4 kB / 420.3 MB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.01594, allocations: 4 kB / 420.3 MB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.01594, allocations: 4 kB / 420.3 MB, free: 4.953 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.01595, allocations: 4 kB / 420.3 MB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008766/0.01683, allocations: 0.9239 MB / 421.2 MB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.01683, allocations: 4 kB / 421.2 MB, free: 3.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/0.01708, allocations: 100.3 kB / 421.3 MB, free: 3.859 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.01709, allocations: 15.94 kB / 421.3 MB, free: 3.844 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.0171, allocations: 12 kB / 421.3 MB, free: 3.832 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.01711, allocations: 11.92 kB / 421.3 MB, free: 3.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.01711, allocations: 4 kB / 421.3 MB, free: 3.816 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005304/0.01764, allocations: 0.822 MB / 422.2 MB, free: 2.945 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.164e-05/0.01767, allocations: 27.78 kB / 422.2 MB, free: 2.918 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.0177, allocations: 16 kB / 422.2 MB, free: 2.902 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.01786, allocations: 8 kB / 422.2 MB, free: 2.895 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.0179, allocations: 31.89 kB / 422.3 MB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.01791, allocations: 23.94 kB / 422.3 MB, free: 2.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.593e-05/0.018, allocations: 157.2 kB / 422.4 MB, free: 2.688 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.018, allocations: 0 / 422.4 MB, free: 2.688 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003397/0.01834, allocations: 80 kB / 422.5 MB, free: 2.609 MB / 394.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.0001128/0.01845, allocations: 107.2 kB / 422.6 MB, free: 2.496 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003243/0.01877, allocations: 276.9 kB / 422.9 MB, free: 2.227 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01878, allocations: 0 / 422.9 MB, free: 2.227 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.01888, allocations: 124.2 kB / 423 MB, free: 2.105 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005268/0.01941, allocations: 72.66 kB / 423.1 MB, free: 2.031 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.02051, allocations: 1.044 MB / 424.1 MB, free: 0.918 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.02063, allocations: 181.9 kB / 424.3 MB, free: 0.7266 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.633e-05/0.0207, allocations: 32.5 kB / 424.3 MB, free: 0.6953 MB / 394.7 MB Notification: Performance of SimCode: time 7.81e-07/0.0207, allocations: 0 / 424.3 MB, free: 0.6953 MB / 394.7 MB Notification: Performance of Templates: time 0.003884/0.02458, allocations: 4.121 MB / 428.4 MB, free: 12.58 MB / 410.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 480] 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.732759159058332]