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.001352/0.001352, 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.001491/0.001491, 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.514/1.514, allocations: 177.2 MB / 204.9 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] 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.2183/0.2183, allocations: 34.27 MB / 295.5 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002243/0.002243, allocations: 71.88 kB / 443.1 MB, free: 6.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3449, allocations: 66.01 MB / 0.4972 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003468/0.3483, allocations: 2.901 MB / 0.5 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.3498, allocations: 1.026 MB / 0.501 GB, free: 27.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.3499, allocations: 10.38 kB / 0.5011 GB, free: 27.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.3501, allocations: 63.16 kB / 0.5011 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.3503, allocations: 128.6 kB / 0.5012 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.3508, allocations: 179.4 kB / 0.5014 GB, free: 26.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003607/0.3511, allocations: 469.3 kB / 0.5019 GB, free: 26.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.3513, allocations: 71.64 kB / 0.5019 GB, free: 26.67 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.3514, allocations: 175 kB / 0.5021 GB, free: 26.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.3516, allocations: 164.9 kB / 0.5022 GB, free: 26.53 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.46e-05/0.3517, allocations: 31.78 kB / 0.5023 GB, free: 26.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.3518, allocations: 56.14 kB / 0.5023 GB, free: 26.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.177e-05/0.3518, allocations: 79.09 kB / 0.5024 GB, free: 26.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.352, allocations: 165.1 kB / 0.5026 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003763/0.3523, allocations: 454.2 kB / 0.503 GB, free: 26.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3523, allocations: 0 / 0.503 GB, free: 26.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3523, allocations: 4 kB / 0.503 GB, free: 26.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.3524, allocations: 0 / 0.503 GB, free: 26.21 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.000972/0.3533, allocations: 0.6313 MB / 0.5036 GB, free: 25.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.3534, allocations: 8.844 kB / 0.5036 GB, free: 25.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002756/0.3536, allocations: 71.22 kB / 0.5037 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.3539, allocations: 239.6 kB / 0.5039 GB, free: 25.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.354, allocations: 27.47 kB / 0.5039 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.353e-05/0.354, allocations: 44.56 kB / 0.504 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004604/0.3545, allocations: 368.1 kB / 0.5043 GB, free: 25.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.3545, allocations: 11.17 kB / 0.5044 GB, free: 25.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.3545, allocations: 11.09 kB / 0.5044 GB, free: 25.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.3545, allocations: 9.281 kB / 0.5044 GB, free: 25.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004012/0.355, allocations: 244.4 kB / 0.5046 GB, free: 25.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.3564, allocations: 1.356 MB / 0.5059 GB, free: 24.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005682/0.357, allocations: 400 kB / 0.5063 GB, free: 23.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.3572, allocations: 125.5 kB / 0.5064 GB, free: 23.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.3572, allocations: 10.28 kB / 0.5064 GB, free: 23.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.3572, allocations: 44.81 kB / 0.5065 GB, free: 23.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=43): time 2.365e-06/0.3572, allocations: 3.984 kB / 0.5065 GB, free: 23.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.002452/0.3597, allocations: 1.538 MB / 0.508 GB, free: 22.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.3597, allocations: 190 kB / 0.5082 GB, free: 22.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.3599, allocations: 250 kB / 0.5084 GB, free: 22.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.3599, allocations: 36.7 kB / 0.5084 GB, free: 22.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.191e-05/0.36, allocations: 192.4 kB / 0.5086 GB, free: 22.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.634e-05/0.36, allocations: 191.4 kB / 0.5088 GB, free: 21.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.836e-05/0.3601, allocations: 103.1 kB / 0.5089 GB, free: 21.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.499e-05/0.3602, allocations: 361 kB / 0.5093 GB, free: 21.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.3604, allocations: 114.4 kB / 0.5094 GB, free: 21.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.3606, allocations: 298.5 kB / 0.5096 GB, free: 21.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004602/0.3611, allocations: 453.1 kB / 0.5101 GB, free: 20.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3611, allocations: 3.031 kB / 0.5101 GB, free: 20.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006355/0.3617, allocations: 498.1 kB / 0.5106 GB, free: 20.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3618, allocations: 9 kB / 0.5106 GB, free: 20.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3618, allocations: 6.422 kB / 0.5106 GB, free: 20.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.3618, allocations: 9.094 kB / 0.5106 GB, free: 20.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004504/0.3622, allocations: 140.3 kB / 0.5107 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.3622, allocations: 12.94 kB / 0.5107 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.3625, allocations: 28.06 kB / 0.5108 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.3625, allocations: 26.88 kB / 0.5108 GB, free: 20.59 MB / 446.1 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.000118/0.3626, allocations: 167.4 kB / 0.5109 GB, free: 20.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.3627, allocations: 41.14 kB / 0.511 GB, free: 20.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.3629, allocations: 126.5 kB / 0.5111 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.3629, allocations: 6.281 kB / 0.5111 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.363, allocations: 0 / 0.5111 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.363, allocations: 10.3 kB / 0.5111 GB, free: 20.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.3644, allocations: 1.127 MB / 0.5122 GB, free: 19.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3644, allocations: 3.281 kB / 0.5122 GB, free: 19.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005138/0.3649, allocations: 121.9 kB / 0.5123 GB, free: 19.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.3649, allocations: 6.125 kB / 0.5123 GB, free: 19.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/0.3649, allocations: 17.25 kB / 0.5124 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.3649, allocations: 10.38 kB / 0.5124 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3649, allocations: 7.375 kB / 0.5124 GB, free: 19.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008551/0.3658, allocations: 1.007 MB / 0.5134 GB, free: 18.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/0.3658, allocations: 36.2 kB / 0.5134 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.626e-05/0.3659, allocations: 11.47 kB / 0.5134 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003816/0.3663, allocations: 15.38 kB / 0.5134 GB, free: 18.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/0.3663, allocations: 52.22 kB / 0.5135 GB, free: 18.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.3664, allocations: 17.59 kB / 0.5135 GB, free: 18.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.3665, allocations: 172.8 kB / 0.5136 GB, free: 18.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3665, allocations: 0 / 0.5136 GB, free: 18.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006378/0.3671, allocations: 98.28 kB / 0.5137 GB, free: 18.52 MB / 446.1 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.327e-05/0.3672, allocations: 123.5 kB / 0.5139 GB, free: 18.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005528/0.3677, allocations: 337.8 kB / 0.5142 GB, free: 18.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3678, allocations: 1.156 kB / 0.5142 GB, free: 18.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000252/0.368, allocations: 164.9 kB / 0.5143 GB, free: 18.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009822/0.369, allocations: 93.22 kB / 0.5144 GB, free: 18.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.3707, allocations: 1.46 MB / 0.5159 GB, free: 17.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/0.3709, allocations: 207.2 kB / 0.5161 GB, free: 17.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001672/0.3711, allocations: 42.12 kB / 0.5161 GB, free: 17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.177e-05/0.3711, allocations: 40.97 kB / 0.5161 GB, free: 16.99 MB / 446.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3711, allocations: 0 / 0.5161 GB, free: 16.99 MB / 446.1 MB Notification: Performance of Templates: time 0.008299/0.3794, allocations: 3.836 MB / 0.5199 GB, free: 16.48 MB / 446.1 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.237083174055442]