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.001412/0.001412, allocations: 110.5 kB / 21.17 MB, free: 0.7656 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.002121/0.002121, allocations: 214.7 kB / 24.46 MB, free: 4.195 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.59/1.59, allocations: 230.2 MB / 257.8 MB, free: 8.48 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.2485/0.2485, allocations: 46.89 MB / 361.1 MB, free: 4.625 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-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=5002,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.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.002376/0.002376, allocations: 75.88 kB / 0.4967 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3679, allocations: 65.99 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.005606/0.3735, allocations: 3.178 MB / 0.5643 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002599/0.3761, allocations: 1.083 MB / 0.5653 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000307/0.3764, allocations: 11.94 kB / 0.5653 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.3767, allocations: 63.38 kB / 0.5654 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003138/0.377, allocations: 126.9 kB / 0.5655 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000719/0.3777, allocations: 175.5 kB / 0.5657 GB, free: 384 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006265/0.3783, allocations: 469.9 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002466/0.3786, allocations: 83.52 kB / 0.5662 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002327/0.3788, allocations: 171.3 kB / 0.5664 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/0.3791, allocations: 187.2 kB / 0.5666 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.179e-05/0.3792, allocations: 35.98 kB / 0.5666 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.3794, allocations: 51.98 kB / 0.5666 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.803e-05/0.3794, allocations: 75.7 kB / 0.5667 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002124/0.3797, allocations: 203 kB / 0.5669 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006921/0.3803, allocations: 444.8 kB / 0.5673 GB, free: 14.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.3804, allocations: 0 / 0.5673 GB, free: 14.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3804, allocations: 0 / 0.5673 GB, free: 14.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.3804, allocations: 8 kB / 0.5673 GB, free: 14.67 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.001373/0.3817, allocations: 0.7013 MB / 0.568 GB, free: 13.92 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.3818, allocations: 15.97 kB / 0.568 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003345/0.3821, allocations: 64.64 kB / 0.5681 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/0.3827, allocations: 302.7 kB / 0.5684 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.903e-05/0.3827, allocations: 29.38 kB / 0.5684 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.878e-05/0.3828, allocations: 36.38 kB / 0.5685 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006521/0.3834, allocations: 363.5 kB / 0.5688 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/0.3835, allocations: 11.95 kB / 0.5688 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/0.3835, allocations: 12 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.3835, allocations: 11.98 kB / 0.5688 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005465/0.3841, allocations: 255.7 kB / 0.5691 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002442/0.3865, allocations: 1.518 MB / 0.5706 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007718/0.3873, allocations: 403.5 kB / 0.5709 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/0.3875, allocations: 129.1 kB / 0.5711 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.3876, allocations: 12 kB / 0.5711 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.3876, allocations: 42.97 kB / 0.5711 GB, free: 10.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.906e-06/0.3876, allocations: 0 / 0.5711 GB, free: 10.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.003481/0.3911, allocations: 1.983 MB / 0.5731 GB, free: 8.258 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.3912, allocations: 187.9 kB / 0.5732 GB, free: 8.031 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.3915, allocations: 262.9 kB / 0.5735 GB, free: 7.766 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.3916, allocations: 29.7 kB / 0.5735 GB, free: 7.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.3917, allocations: 208.7 kB / 0.5737 GB, free: 7.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.3919, allocations: 186.4 kB / 0.5739 GB, free: 7.336 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.392, allocations: 98.3 kB / 0.574 GB, free: 7.234 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.3922, allocations: 346.8 kB / 0.5743 GB, free: 6.887 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/0.3924, allocations: 121.2 kB / 0.5744 GB, free: 6.766 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004069/0.3928, allocations: 299.9 kB / 0.5747 GB, free: 6.398 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006557/0.3935, allocations: 457.3 kB / 0.5752 GB, free: 5.875 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3935, allocations: 0 / 0.5752 GB, free: 5.875 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008356/0.3943, allocations: 0.4891 MB / 0.5756 GB, free: 5.379 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.3944, allocations: 8 kB / 0.5756 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.3944, allocations: 4 kB / 0.5756 GB, free: 5.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.3944, allocations: 8 kB / 0.5757 GB, free: 5.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005017/0.3949, allocations: 143.8 kB / 0.5758 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.07e-05/0.3949, allocations: 16.36 kB / 0.5758 GB, free: 5.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.3952, allocations: 27.95 kB / 0.5758 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.3952, allocations: 28.22 kB / 0.5759 GB, free: 5.148 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.0002254/0.3954, allocations: 177.5 kB / 0.576 GB, free: 4.965 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.3956, allocations: 39.77 kB / 0.5761 GB, free: 4.926 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.3958, allocations: 127.3 kB / 0.5762 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.3958, allocations: 8 kB / 0.5762 GB, free: 4.789 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.3958, allocations: 3.938 kB / 0.5762 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.3959, allocations: 7.984 kB / 0.5762 GB, free: 4.777 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.3978, allocations: 1.245 MB / 0.5774 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.3978, allocations: 4 kB / 0.5774 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005308/0.3984, allocations: 115.9 kB / 0.5775 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.3984, allocations: 8 kB / 0.5775 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/0.3984, allocations: 16 kB / 0.5776 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/0.3984, allocations: 8.25 kB / 0.5776 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.3984, allocations: 8 kB / 0.5776 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.3996, allocations: 1.009 MB / 0.5786 GB, free: 2.215 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.37e-05/0.3997, allocations: 108.9 kB / 0.5787 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.071e-05/0.3997, allocations: 16 kB / 0.5787 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003762/0.4001, allocations: 16 kB / 0.5787 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.159e-05/0.4002, allocations: 40.02 kB / 0.5787 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.4002, allocations: 20 kB / 0.5788 GB, free: 2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001785/0.4004, allocations: 182 kB / 0.5789 GB, free: 1.824 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4004, allocations: 0 / 0.5789 GB, free: 1.824 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006534/0.401, allocations: 100 kB / 0.579 GB, free: 1.727 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.0001452/0.4012, allocations: 115.1 kB / 0.5791 GB, free: 1.602 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006456/0.4018, allocations: 339.9 kB / 0.5795 GB, free: 1.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4018, allocations: 0 / 0.5795 GB, free: 1.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002893/0.4021, allocations: 171.8 kB / 0.5796 GB, free: 1.102 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.4031, allocations: 94.62 kB / 0.5797 GB, free: 1.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.4055, allocations: 1.481 MB / 0.5812 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004714/0.4059, allocations: 0.8156 MB / 0.582 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001836/0.4061, allocations: 51.28 kB / 0.582 GB, free: 14.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.388e-05/0.4062, allocations: 31.44 kB / 0.582 GB, free: 14.54 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4062, allocations: 0 / 0.582 GB, free: 14.54 MB / 430.1 MB Notification: Performance of Templates: time 0.008801/0.415, allocations: 4.093 MB / 0.586 GB, free: 10.47 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 cvode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.52756080031395]