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.001214/0.001214, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 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.001476/0.001476, allocations: 212.4 kB / 25.13 MB, free: 3.605 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.47/1.47, allocations: 230.4 MB / 258.7 MB, free: 8.039 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.2308/0.2308, allocations: 46.93 MB / 362 MB, free: 4.227 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.002243/0.002243, allocations: 75.86 kB / 0.4978 GB, free: 7.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3134, allocations: 66.08 MB / 0.5623 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.00479/0.3182, allocations: 3.155 MB / 0.5654 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.3204, allocations: 1.087 MB / 0.5664 GB, free: 24 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001907/0.3206, allocations: 11.94 kB / 0.5665 GB, free: 12 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002305/0.3208, allocations: 67.41 kB / 0.5665 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002507/0.321, allocations: 126.9 kB / 0.5666 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005755/0.3216, allocations: 175.5 kB / 0.5668 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005327/0.3221, allocations: 465.8 kB / 0.5673 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002028/0.3223, allocations: 87.92 kB / 0.5673 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.3226, allocations: 171.4 kB / 0.5675 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002578/0.3228, allocations: 187.1 kB / 0.5677 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.623e-05/0.3229, allocations: 32 kB / 0.5677 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.323, allocations: 55.98 kB / 0.5678 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.71e-05/0.3231, allocations: 79.69 kB / 0.5678 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.3233, allocations: 199 kB / 0.568 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005593/0.3238, allocations: 456.7 kB / 0.5685 GB, free: 13.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3238, allocations: 0 / 0.5685 GB, free: 13.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3238, allocations: 0 / 0.5685 GB, free: 13.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.3239, allocations: 4 kB / 0.5685 GB, free: 13.94 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.001228/0.3251, allocations: 0.6221 MB / 0.5691 GB, free: 13.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.3251, allocations: 12.03 kB / 0.5691 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003033/0.3254, allocations: 68.64 kB / 0.5692 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004387/0.3259, allocations: 244.8 kB / 0.5694 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.823e-05/0.3259, allocations: 29.38 kB / 0.5694 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.181e-05/0.326, allocations: 40.36 kB / 0.5695 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006834/0.3267, allocations: 363.5 kB / 0.5698 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.3267, allocations: 11.89 kB / 0.5698 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/0.3267, allocations: 16 kB / 0.5698 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.3267, allocations: 8 kB / 0.5698 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005029/0.3272, allocations: 255.7 kB / 0.5701 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002299/0.3295, allocations: 1.471 MB / 0.5715 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007908/0.3303, allocations: 399.6 kB / 0.5719 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002391/0.3306, allocations: 121.1 kB / 0.572 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-05/0.3306, allocations: 4 kB / 0.572 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/0.3307, allocations: 50.5 kB / 0.5721 GB, free: 9.992 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.084e-06/0.3307, allocations: 0 / 0.5721 GB, free: 9.992 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.00325/0.3339, allocations: 1.547 MB / 0.5736 GB, free: 8.301 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.334, allocations: 187.9 kB / 0.5738 GB, free: 8.074 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.3343, allocations: 256.2 kB / 0.574 GB, free: 7.816 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.3343, allocations: 29.7 kB / 0.574 GB, free: 7.781 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.3345, allocations: 208.7 kB / 0.5742 GB, free: 7.574 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.3347, allocations: 186.4 kB / 0.5744 GB, free: 7.391 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.3348, allocations: 106.2 kB / 0.5745 GB, free: 7.281 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.335, allocations: 346.8 kB / 0.5748 GB, free: 6.934 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.3352, allocations: 117.2 kB / 0.5749 GB, free: 6.816 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004136/0.3357, allocations: 299.9 kB / 0.5752 GB, free: 6.449 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006777/0.3363, allocations: 461.3 kB / 0.5757 GB, free: 5.922 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3363, allocations: 0 / 0.5757 GB, free: 5.922 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008446/0.3372, allocations: 497.4 kB / 0.5761 GB, free: 5.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.3372, allocations: 8.031 kB / 0.5762 GB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.3372, allocations: 8 kB / 0.5762 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/0.3372, allocations: 8 kB / 0.5762 GB, free: 5.406 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005144/0.3377, allocations: 139.8 kB / 0.5763 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.885e-05/0.3378, allocations: 23.8 kB / 0.5763 GB, free: 5.246 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.338, allocations: 23.89 kB / 0.5764 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4e-05/0.338, allocations: 24.31 kB / 0.5764 GB, free: 5.199 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.0001918/0.3382, allocations: 174.5 kB / 0.5765 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.3384, allocations: 39.77 kB / 0.5766 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002787/0.3387, allocations: 127.3 kB / 0.5767 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.3387, allocations: 11.94 kB / 0.5767 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.3387, allocations: 3.938 kB / 0.5767 GB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.3387, allocations: 7.984 kB / 0.5767 GB, free: 4.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002158/0.3408, allocations: 1.213 MB / 0.5779 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.3409, allocations: 8.062 kB / 0.5779 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005416/0.3414, allocations: 115.9 kB / 0.578 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.884e-06/0.3414, allocations: 4 kB / 0.578 GB, free: 3.398 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/0.3414, allocations: 16 kB / 0.578 GB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.086e-05/0.3415, allocations: 12.12 kB / 0.5781 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/0.3415, allocations: 11.98 kB / 0.5781 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.3427, allocations: 1.009 MB / 0.5791 GB, free: 2.293 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.239e-05/0.3427, allocations: 35.81 kB / 0.5791 GB, free: 2.258 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.125e-05/0.3428, allocations: 8 kB / 0.5791 GB, free: 2.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003747/0.3432, allocations: 19.98 kB / 0.5791 GB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.995e-05/0.3433, allocations: 47.81 kB / 0.5792 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.3433, allocations: 16 kB / 0.5792 GB, free: 2.168 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001838/0.3435, allocations: 183.1 kB / 0.5793 GB, free: 1.992 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3435, allocations: 0 / 0.5793 GB, free: 1.992 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006376/0.3441, allocations: 96 kB / 0.5794 GB, free: 1.898 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.0001375/0.3442, allocations: 115.1 kB / 0.5796 GB, free: 1.777 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006665/0.3449, allocations: 326.6 kB / 0.5799 GB, free: 1.457 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3449, allocations: 0 / 0.5799 GB, free: 1.457 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.3452, allocations: 169 kB / 0.58 GB, free: 1.293 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009931/0.3462, allocations: 95.73 kB / 0.5801 GB, free: 1.207 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.3487, allocations: 1.486 MB / 0.5816 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004971/0.3491, allocations: 0.812 MB / 0.5824 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001863/0.3493, allocations: 47.34 kB / 0.5824 GB, free: 14.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.851e-05/0.3494, allocations: 39.42 kB / 0.5824 GB, free: 14.71 MB / 430.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3494, allocations: 3.938 kB / 0.5824 GB, free: 14.71 MB / 430.1 MB Notification: Performance of Templates: time 0.009386/0.3588, allocations: 4.247 MB / 0.5866 GB, free: 10.49 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 -s gbode -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: 5.047002297826111]