Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.007732/0.007732, allocations: 110.2 kB / 21.98 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00203/0.00203, allocations: 212.8 kB / 25.29 MB, free: 3.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 230.5 MB / 258.9 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2261/0.2261, allocations: 46.94 MB / 362.3 MB, free: 4.312 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Translational.TestBraking") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 79.86 kB / 0.4982 GB, free: 7.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3307, allocations: 66.09 MB / 0.5627 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.005312/0.336, allocations: 3.167 MB / 0.5658 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002226/0.3383, allocations: 1.094 MB / 0.5669 GB, free: 4 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000243/0.3385, allocations: 12.05 kB / 0.5669 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00025/0.3387, allocations: 67.31 kB / 0.5669 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000318/0.3391, allocations: 126.9 kB / 0.5671 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006514/0.3397, allocations: 175.5 kB / 0.5672 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005647/0.3403, allocations: 461.8 kB / 0.5677 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.3405, allocations: 87.92 kB / 0.5678 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002201/0.3407, allocations: 179.3 kB / 0.5679 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.341, allocations: 183.1 kB / 0.5681 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.969e-05/0.341, allocations: 32 kB / 0.5681 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.3412, allocations: 55.98 kB / 0.5682 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.352e-05/0.3412, allocations: 79.69 kB / 0.5683 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002125/0.3415, allocations: 199 kB / 0.5685 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005791/0.342, allocations: 456.5 kB / 0.5689 GB, free: 13.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.342, allocations: 0 / 0.5689 GB, free: 13.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.342, allocations: 0 / 0.5689 GB, free: 13.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.3421, allocations: 0 / 0.5689 GB, free: 13.93 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.001378/0.3434, allocations: 0.6261 MB / 0.5695 GB, free: 13.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3435, allocations: 8.031 kB / 0.5695 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003131/0.3438, allocations: 68.62 kB / 0.5696 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004819/0.3443, allocations: 240.8 kB / 0.5698 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.372e-05/0.3443, allocations: 29.38 kB / 0.5698 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.798e-05/0.3444, allocations: 40.36 kB / 0.5699 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006405/0.345, allocations: 363.5 kB / 0.5702 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.185e-05/0.3451, allocations: 11.94 kB / 0.5702 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.3451, allocations: 16 kB / 0.5702 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.3451, allocations: 12 kB / 0.5703 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000564/0.3457, allocations: 243.8 kB / 0.5705 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002313/0.348, allocations: 1.479 MB / 0.5719 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007713/0.3488, allocations: 399.3 kB / 0.5723 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.349, allocations: 133.7 kB / 0.5724 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.585e-05/0.349, allocations: 7.984 kB / 0.5725 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.3491, allocations: 46.48 kB / 0.5725 GB, free: 9.969 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 1.663e-06/0.3491, allocations: 0 / 0.5725 GB, free: 9.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.003259/0.3523, allocations: 1.538 MB / 0.574 GB, free: 8.285 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.3525, allocations: 191.9 kB / 0.5742 GB, free: 8.055 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/0.3528, allocations: 252.2 kB / 0.5744 GB, free: 7.801 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.34e-05/0.3529, allocations: 37.7 kB / 0.5745 GB, free: 7.758 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.353, allocations: 212.6 kB / 0.5747 GB, free: 7.547 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/0.3532, allocations: 186.4 kB / 0.5748 GB, free: 7.363 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.3534, allocations: 98.3 kB / 0.5749 GB, free: 7.262 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.3536, allocations: 346.8 kB / 0.5753 GB, free: 6.914 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.3538, allocations: 125.2 kB / 0.5754 GB, free: 6.789 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003989/0.3542, allocations: 291.9 kB / 0.5757 GB, free: 6.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007231/0.355, allocations: 457.8 kB / 0.5761 GB, free: 5.906 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.355, allocations: 4 kB / 0.5761 GB, free: 5.902 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008795/0.3558, allocations: 492.8 kB / 0.5766 GB, free: 5.414 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.3559, allocations: 8 kB / 0.5766 GB, free: 5.406 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.3559, allocations: 4 kB / 0.5766 GB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.3559, allocations: 12.38 kB / 0.5766 GB, free: 5.391 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005057/0.3564, allocations: 147.8 kB / 0.5767 GB, free: 5.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.772e-05/0.3564, allocations: 15.88 kB / 0.5767 GB, free: 5.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/0.3567, allocations: 31.89 kB / 0.5768 GB, free: 5.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.3567, allocations: 24 kB / 0.5768 GB, free: 5.176 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.000261/0.357, allocations: 170.5 kB / 0.577 GB, free: 5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.3571, allocations: 39.77 kB / 0.577 GB, free: 4.961 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.3574, allocations: 123.4 kB / 0.5771 GB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.3574, allocations: 4 kB / 0.5771 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.3574, allocations: 15.88 kB / 0.5771 GB, free: 4.809 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.3574, allocations: 288 / 0.5771 GB, free: 4.809 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002143/0.3596, allocations: 1.213 MB / 0.5783 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.3596, allocations: 8.031 kB / 0.5783 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005468/0.3601, allocations: 119.8 kB / 0.5784 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/0.3601, allocations: 8.312 kB / 0.5785 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/0.3602, allocations: 16 kB / 0.5785 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.019e-05/0.3602, allocations: 11.92 kB / 0.5785 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.3602, allocations: 4 kB / 0.5785 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.3614, allocations: 1.013 MB / 0.5795 GB, free: 2.277 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.872e-05/0.3614, allocations: 31.81 kB / 0.5795 GB, free: 2.246 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.475e-05/0.3615, allocations: 19.98 kB / 0.5795 GB, free: 2.227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/0.3619, allocations: 12 kB / 0.5795 GB, free: 2.215 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.74e-05/0.362, allocations: 47.81 kB / 0.5796 GB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.362, allocations: 16 kB / 0.5796 GB, free: 2.152 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001849/0.3622, allocations: 179.1 kB / 0.5798 GB, free: 1.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3622, allocations: 0 / 0.5798 GB, free: 1.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000666/0.3628, allocations: 100 kB / 0.5799 GB, free: 1.883 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.0001363/0.363, allocations: 114.2 kB / 0.58 GB, free: 1.766 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007985/0.3638, allocations: 335.4 kB / 0.5803 GB, free: 1.438 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.3638, allocations: 4 kB / 0.5803 GB, free: 1.434 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003009/0.3641, allocations: 165 kB / 0.5805 GB, free: 1.273 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009739/0.3651, allocations: 96.7 kB / 0.5805 GB, free: 1.184 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/0.3675, allocations: 1.511 MB / 0.582 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005951/0.3681, allocations: 0.8119 MB / 0.5828 GB, free: 14.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.3683, allocations: 39.42 kB / 0.5829 GB, free: 14.71 MB / 430.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3683, allocations: 4.188 kB / 0.5829 GB, free: 14.7 MB / 430.1 MB Notification: Performance of Templates: time 0.00826/0.3765, allocations: 4.805 MB / 0.5875 GB, free: 9.902 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 7.889135618926957]