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.001454/0.001454, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.00176/0.00176, allocations: 162.5 kB / 24.5 MB, free: 3.711 MB / 14.72 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.481/1.481, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.1 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.2124/0.2124, allocations: 32.81 MB / 294.1 MB, free: 20 kB / 270.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002473/0.002473, allocations: 59.91 kB / 440.5 MB, free: 9.465 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3394, allocations: 65.45 MB / 0.4941 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.00301/0.3424, allocations: 2.695 MB / 0.4968 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.3437, allocations: 0.9535 MB / 0.4977 GB, free: 28.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.3438, allocations: 9.781 kB / 0.4977 GB, free: 28.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.344, allocations: 55.09 kB / 0.4977 GB, free: 28.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.3442, allocations: 105.2 kB / 0.4978 GB, free: 28.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004273/0.3446, allocations: 158.9 kB / 0.498 GB, free: 28.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003011/0.3449, allocations: 387.1 kB / 0.4984 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.3451, allocations: 56.78 kB / 0.4984 GB, free: 28.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.3452, allocations: 153 kB / 0.4986 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.3453, allocations: 136 kB / 0.4987 GB, free: 28.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.815e-05/0.3454, allocations: 31.5 kB / 0.4987 GB, free: 28.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.3455, allocations: 49.83 kB / 0.4988 GB, free: 28.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.67e-05/0.3455, allocations: 66.7 kB / 0.4988 GB, free: 28.35 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.3456, allocations: 137.8 kB / 0.499 GB, free: 28.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.346, allocations: 390 kB / 0.4993 GB, free: 28.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.346, allocations: 0 / 0.4993 GB, free: 28.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.346, allocations: 0 / 0.4993 GB, free: 28.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.346, allocations: 0 / 0.4993 GB, free: 28.13 MB / 446.1 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.0007921/0.3468, allocations: 0.5573 MB / 0.4999 GB, free: 27.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.3468, allocations: 9.625 kB / 0.4999 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002642/0.3471, allocations: 63.02 kB / 0.5 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.3474, allocations: 221.2 kB / 0.5002 GB, free: 27.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.3474, allocations: 21.34 kB / 0.5002 GB, free: 27.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.234e-05/0.3474, allocations: 38.7 kB / 0.5002 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003828/0.3478, allocations: 309.2 kB / 0.5005 GB, free: 27.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.3478, allocations: 0 / 0.5005 GB, free: 27.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.3479, allocations: 15.05 kB / 0.5005 GB, free: 27.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3479, allocations: 9.938 kB / 0.5005 GB, free: 27.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002835/0.3481, allocations: 195.8 kB / 0.5007 GB, free: 27.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.3494, allocations: 1.148 MB / 0.5019 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004112/0.3499, allocations: 326.2 kB / 0.5022 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.35, allocations: 108.8 kB / 0.5023 GB, free: 26.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.35, allocations: 3.344 kB / 0.5023 GB, free: 26.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.526e-05/0.35, allocations: 45.06 kB / 0.5023 GB, free: 25.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=36): time 1.623e-06/0.35, allocations: 4 kB / 0.5023 GB, free: 25.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.001983/0.352, allocations: 1.228 MB / 0.5035 GB, free: 25.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.352, allocations: 164.2 kB / 0.5037 GB, free: 24.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.3522, allocations: 225.8 kB / 0.5039 GB, free: 24.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.3522, allocations: 32.98 kB / 0.5039 GB, free: 24.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.3523, allocations: 183.1 kB / 0.5041 GB, free: 24.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.564e-05/0.3523, allocations: 159.1 kB / 0.5042 GB, free: 24.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.312e-05/0.3524, allocations: 80.77 kB / 0.5043 GB, free: 24.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.361e-05/0.3525, allocations: 342.9 kB / 0.5046 GB, free: 24.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.3526, allocations: 97.95 kB / 0.5047 GB, free: 24.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.3528, allocations: 248.9 kB / 0.505 GB, free: 23.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/0.3532, allocations: 374.8 kB / 0.5053 GB, free: 23.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3532, allocations: 2.844 kB / 0.5053 GB, free: 23.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000504/0.3537, allocations: 410.6 kB / 0.5057 GB, free: 23.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3537, allocations: 6.375 kB / 0.5057 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.3537, allocations: 6.781 kB / 0.5057 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.3537, allocations: 10.19 kB / 0.5058 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/0.3541, allocations: 116.9 kB / 0.5059 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.3541, allocations: 10.12 kB / 0.5059 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.3543, allocations: 21.48 kB / 0.5059 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.3543, allocations: 22.91 kB / 0.5059 GB, free: 23.29 MB / 446.1 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.0001169/0.3544, allocations: 162.2 kB / 0.5061 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.3545, allocations: 31.38 kB / 0.5061 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001889/0.3547, allocations: 117.9 kB / 0.5062 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.3547, allocations: 6.469 kB / 0.5062 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.3547, allocations: 4 kB / 0.5062 GB, free: 23.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.3547, allocations: 6.547 kB / 0.5062 GB, free: 23.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.3559, allocations: 0.915 MB / 0.5071 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3559, allocations: 3.094 kB / 0.5071 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004076/0.3563, allocations: 103.3 kB / 0.5072 GB, free: 22.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.3563, allocations: 10.95 kB / 0.5072 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.3563, allocations: 16.25 kB / 0.5073 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.3563, allocations: 2.719 kB / 0.5073 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.3563, allocations: 9.438 kB / 0.5073 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005492/0.3569, allocations: 0.8448 MB / 0.5081 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.513e-05/0.3569, allocations: 32.22 kB / 0.5081 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.971e-05/0.3569, allocations: 14.09 kB / 0.5081 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/0.3572, allocations: 14.03 kB / 0.5081 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.3573, allocations: 29.55 kB / 0.5082 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.3573, allocations: 15.81 kB / 0.5082 GB, free: 21.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.756e-05/0.3574, allocations: 162.6 kB / 0.5083 GB, free: 21.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3574, allocations: 0 / 0.5083 GB, free: 21.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005347/0.3579, allocations: 85.09 kB / 0.5084 GB, free: 21.48 MB / 446.1 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 9.866e-05/0.358, allocations: 110.1 kB / 0.5085 GB, free: 21.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003679/0.3584, allocations: 280.6 kB / 0.5088 GB, free: 21.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3584, allocations: 0 / 0.5088 GB, free: 21.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.3585, allocations: 122.9 kB / 0.5089 GB, free: 21.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008418/0.3594, allocations: 70.91 kB / 0.509 GB, free: 21.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.3608, allocations: 1.256 MB / 0.5102 GB, free: 20.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.361, allocations: 188.1 kB / 0.5104 GB, free: 20.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001411/0.3611, allocations: 39.53 kB / 0.5104 GB, free: 20.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.172e-05/0.3612, allocations: 29.81 kB / 0.5105 GB, free: 20.17 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3612, allocations: 0 / 0.5105 GB, free: 20.17 MB / 446.1 MB Notification: Performance of Templates: time 0.006947/0.3681, allocations: 3.107 MB / 0.5135 GB, free: 19.76 MB / 446.1 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/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.13415491906926]