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.001736/0.001736, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002121/0.002121, allocations: 213.3 kB / 24.48 MB, free: 3.941 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.479/1.479, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.2244/0.2244, allocations: 46.97 MB / 361.6 MB, free: 4.039 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.001945/0.001945, allocations: 63.91 kB / 0.4973 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.319, allocations: 66.03 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004424/0.3234, allocations: 2.916 MB / 0.5646 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.3254, allocations: 1.021 MB / 0.5656 GB, free: 240 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.3256, allocations: 7.938 kB / 0.5656 GB, free: 232 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.3258, allocations: 63.31 kB / 0.5657 GB, free: 168 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002457/0.326, allocations: 130.9 kB / 0.5658 GB, free: 36 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005438/0.3266, allocations: 179.6 kB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005039/0.3271, allocations: 465.8 kB / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.3272, allocations: 75.98 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.3274, allocations: 183.3 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002418/0.3277, allocations: 179.2 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.053e-05/0.3277, allocations: 32 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.3279, allocations: 51.98 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.042e-05/0.328, allocations: 83.69 kB / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.3281, allocations: 171.2 kB / 0.5672 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005477/0.3287, allocations: 456.5 kB / 0.5676 GB, free: 14.19 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3287, allocations: 0 / 0.5676 GB, free: 14.19 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3287, allocations: 0 / 0.5676 GB, free: 14.19 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.3287, allocations: 3.938 kB / 0.5676 GB, free: 14.19 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.001282/0.33, allocations: 0.6183 MB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.33, allocations: 11.97 kB / 0.5682 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003324/0.3303, allocations: 72.56 kB / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004548/0.3308, allocations: 252.8 kB / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.169e-05/0.3308, allocations: 25.38 kB / 0.5686 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.069e-05/0.3309, allocations: 36.38 kB / 0.5686 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006675/0.3316, allocations: 363.5 kB / 0.569 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.3316, allocations: 7.953 kB / 0.569 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.722e-05/0.3316, allocations: 16 kB / 0.569 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.3316, allocations: 8 kB / 0.569 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005083/0.3322, allocations: 243.8 kB / 0.5692 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00214/0.3343, allocations: 1.359 MB / 0.5705 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007598/0.3351, allocations: 403.9 kB / 0.5709 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.3353, allocations: 129.1 kB / 0.5711 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.3353, allocations: 8.328 kB / 0.5711 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.604e-05/0.3354, allocations: 50.44 kB / 0.5711 GB, free: 10.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.114e-06/0.3354, allocations: 0 / 0.5711 GB, free: 10.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.003148/0.3385, allocations: 1.529 MB / 0.5726 GB, free: 8.688 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.3386, allocations: 183.9 kB / 0.5728 GB, free: 8.465 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.3389, allocations: 253.8 kB / 0.573 GB, free: 8.207 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.3389, allocations: 37.7 kB / 0.5731 GB, free: 8.164 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.3391, allocations: 204.7 kB / 0.5733 GB, free: 7.957 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.3392, allocations: 186.4 kB / 0.5734 GB, free: 7.773 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.3394, allocations: 102.3 kB / 0.5735 GB, free: 7.668 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.3396, allocations: 350.7 kB / 0.5739 GB, free: 7.316 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/0.3398, allocations: 117.2 kB / 0.574 GB, free: 7.203 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003827/0.3402, allocations: 299.9 kB / 0.5743 GB, free: 6.832 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006676/0.3409, allocations: 447.3 kB / 0.5747 GB, free: 6.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3409, allocations: 0 / 0.5747 GB, free: 6.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008421/0.3417, allocations: 0.4967 MB / 0.5752 GB, free: 5.816 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.745e-05/0.3418, allocations: 8 kB / 0.5752 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.3418, allocations: 8 kB / 0.5752 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.3418, allocations: 8.438 kB / 0.5752 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005004/0.3423, allocations: 143.8 kB / 0.5753 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.272e-05/0.3423, allocations: 19.92 kB / 0.5753 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.3426, allocations: 19.94 kB / 0.5754 GB, free: 5.613 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.3426, allocations: 24 kB / 0.5754 GB, free: 5.59 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.0002021/0.3428, allocations: 169.6 kB / 0.5756 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.343, allocations: 47.75 kB / 0.5756 GB, free: 5.367 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.3432, allocations: 119.3 kB / 0.5757 GB, free: 5.246 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.3432, allocations: 8 kB / 0.5757 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.3432, allocations: 4 kB / 0.5757 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/0.3432, allocations: 15.92 kB / 0.5757 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.3451, allocations: 1.12 MB / 0.5768 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.3451, allocations: 4.312 kB / 0.5768 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005532/0.3457, allocations: 123.8 kB / 0.577 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.3457, allocations: 4 kB / 0.577 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.345e-05/0.3457, allocations: 16 kB / 0.577 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/0.3457, allocations: 11.98 kB / 0.577 GB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.3457, allocations: 7.938 kB / 0.577 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.3469, allocations: 1.009 MB / 0.578 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.561e-05/0.3469, allocations: 27.81 kB / 0.578 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.814e-05/0.347, allocations: 16 kB / 0.578 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003817/0.3474, allocations: 23.98 kB / 0.578 GB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.242e-05/0.3475, allocations: 43.81 kB / 0.5781 GB, free: 2.684 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.3475, allocations: 16 kB / 0.5781 GB, free: 2.668 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002518/0.3478, allocations: 173.2 kB / 0.5783 GB, free: 2.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3478, allocations: 0 / 0.5783 GB, free: 2.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006866/0.3484, allocations: 96 kB / 0.5784 GB, free: 2.406 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.00017/0.3486, allocations: 123 kB / 0.5785 GB, free: 2.273 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007277/0.3493, allocations: 335.2 kB / 0.5788 GB, free: 1.945 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3493, allocations: 0 / 0.5788 GB, free: 1.945 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002952/0.3496, allocations: 161.6 kB / 0.5789 GB, free: 1.789 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009894/0.3506, allocations: 89.73 kB / 0.579 GB, free: 1.703 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/0.353, allocations: 1.479 MB / 0.5805 GB, free: 156 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.3533, allocations: 200.5 kB / 0.5807 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002031/0.3535, allocations: 51.28 kB / 0.5807 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.798e-05/0.3536, allocations: 35.42 kB / 0.5808 GB, free: 15.84 MB / 430.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3536, allocations: 0 / 0.5808 GB, free: 15.84 MB / 430.1 MB Notification: Performance of Templates: time 0.009293/0.3629, allocations: 4.459 MB / 0.5851 GB, free: 11.46 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 -s cvode -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.089754089000053]