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.001914/0.001914, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002624/0.002624, allocations: 209 kB / 24.48 MB, free: 3.938 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.488/1.488, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.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.2556/0.2556, allocations: 46.95 MB / 361.6 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] 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.002093/0.002093, allocations: 63.91 kB / 0.4973 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3405, allocations: 66.03 MB / 0.5618 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004631/0.3451, allocations: 2.909 MB / 0.5646 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.3471, allocations: 1.017 MB / 0.5656 GB, free: 228 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001876/0.3473, allocations: 11.88 kB / 0.5656 GB, free: 216 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002/0.3475, allocations: 67.31 kB / 0.5657 GB, free: 148 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002547/0.3478, allocations: 126.9 kB / 0.5658 GB, free: 20 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005677/0.3483, allocations: 179.6 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005187/0.3489, allocations: 465.8 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.3491, allocations: 75.92 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002099/0.3493, allocations: 175.4 kB / 0.5667 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.3495, allocations: 159.2 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.337e-05/0.3496, allocations: 35.94 kB / 0.5669 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.3497, allocations: 51.98 kB / 0.5669 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.466e-05/0.3498, allocations: 79.75 kB / 0.567 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.3499, allocations: 163.2 kB / 0.5671 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005361/0.3505, allocations: 468.4 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.3505, allocations: 0 / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3505, allocations: 0 / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.3505, allocations: 0 / 0.5676 GB, free: 14.2 MB / 414.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.001202/0.3517, allocations: 0.6183 MB / 0.5682 GB, free: 13.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.3517, allocations: 8.031 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003539/0.3521, allocations: 72.62 kB / 0.5683 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004468/0.3525, allocations: 248.8 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.253e-05/0.3526, allocations: 33.36 kB / 0.5685 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.912e-05/0.3526, allocations: 36.38 kB / 0.5686 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000636/0.3533, allocations: 363.6 kB / 0.5689 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/0.3533, allocations: 7.891 kB / 0.5689 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.372e-05/0.3533, allocations: 16 kB / 0.5689 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.3534, allocations: 8 kB / 0.569 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004876/0.3538, allocations: 247.7 kB / 0.5692 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002108/0.3559, allocations: 1.359 MB / 0.5705 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007477/0.3567, allocations: 388 kB / 0.5709 GB, free: 10.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/0.3569, allocations: 133 kB / 0.571 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.357, allocations: 12 kB / 0.571 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.357, allocations: 42.55 kB / 0.5711 GB, free: 10.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 1.783e-06/0.357, allocations: 4 kB / 0.5711 GB, free: 10.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.003036/0.36, allocations: 1.528 MB / 0.5726 GB, free: 8.715 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.3602, allocations: 195.9 kB / 0.5728 GB, free: 8.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.3604, allocations: 245.8 kB / 0.573 GB, free: 8.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.3605, allocations: 37.7 kB / 0.573 GB, free: 8.188 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.3606, allocations: 200.7 kB / 0.5732 GB, free: 7.984 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.3607, allocations: 186.4 kB / 0.5734 GB, free: 7.801 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.3609, allocations: 106.3 kB / 0.5735 GB, free: 7.691 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.3611, allocations: 354.7 kB / 0.5738 GB, free: 7.336 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.3613, allocations: 117.2 kB / 0.5739 GB, free: 7.223 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004311/0.3617, allocations: 299.8 kB / 0.5742 GB, free: 6.852 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000658/0.3624, allocations: 457.6 kB / 0.5747 GB, free: 6.328 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.3624, allocations: 0 / 0.5747 GB, free: 6.328 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008355/0.3632, allocations: 0.497 MB / 0.5751 GB, free: 5.824 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.3632, allocations: 8 kB / 0.5752 GB, free: 5.816 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.3633, allocations: 8 kB / 0.5752 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.3633, allocations: 8 kB / 0.5752 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004804/0.3638, allocations: 135.8 kB / 0.5753 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.008e-05/0.3638, allocations: 20.67 kB / 0.5753 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.364, allocations: 23.94 kB / 0.5753 GB, free: 5.625 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/0.3641, allocations: 24 kB / 0.5754 GB, free: 5.602 MB / 414.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.0001916/0.3642, allocations: 169.7 kB / 0.5755 GB, free: 5.426 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.3644, allocations: 43.7 kB / 0.5756 GB, free: 5.383 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/0.3646, allocations: 123.3 kB / 0.5757 GB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.3646, allocations: 8 kB / 0.5757 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3646, allocations: 0 / 0.5757 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.3647, allocations: 11.92 kB / 0.5757 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/0.3666, allocations: 1.128 MB / 0.5768 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.3666, allocations: 4 kB / 0.5768 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005108/0.3671, allocations: 119.8 kB / 0.5769 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/0.3671, allocations: 8.312 kB / 0.5769 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/0.3671, allocations: 16 kB / 0.577 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.547e-06/0.3671, allocations: 11.98 kB / 0.577 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.3671, allocations: 7.938 kB / 0.577 GB, free: 3.875 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.3683, allocations: 1.005 MB / 0.578 GB, free: 2.809 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.038e-05/0.3684, allocations: 31.81 kB / 0.578 GB, free: 2.777 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.168e-05/0.3684, allocations: 16.19 kB / 0.578 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.3688, allocations: 19.98 kB / 0.578 GB, free: 2.742 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-05/0.3689, allocations: 47.75 kB / 0.5781 GB, free: 2.695 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.3689, allocations: 20 kB / 0.5781 GB, free: 2.676 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000195/0.3691, allocations: 169.2 kB / 0.5782 GB, free: 2.512 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3691, allocations: 0 / 0.5782 GB, free: 2.512 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007131/0.3698, allocations: 100 kB / 0.5783 GB, free: 2.414 MB / 414.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 0.0001911/0.37, allocations: 111.1 kB / 0.5784 GB, free: 2.293 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007605/0.3708, allocations: 343 kB / 0.5788 GB, free: 1.957 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3708, allocations: 0 / 0.5788 GB, free: 1.957 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002877/0.371, allocations: 159.7 kB / 0.5789 GB, free: 1.801 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009887/0.372, allocations: 93.3 kB / 0.579 GB, free: 1.719 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.3745, allocations: 1.508 MB / 0.5805 GB, free: 136 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.3748, allocations: 208.5 kB / 0.5807 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.3749, allocations: 39.44 kB / 0.5807 GB, free: 15.87 MB / 430.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3749, allocations: 3.938 kB / 0.5807 GB, free: 15.86 MB / 430.1 MB Notification: Performance of Templates: time 0.008009/0.3829, allocations: 4.931 MB / 0.5855 GB, free: 10.94 MB / 430.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 -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: 8.082631415687501]