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.001799/0.001799, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002238/0.002238, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.555/1.555, allocations: 230.3 MB / 258 MB, free: 8.234 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.2407/0.2407, allocations: 46.94 MB / 361.4 MB, free: 4.406 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.003352/0.003352, allocations: 83.86 kB / 0.4971 GB, free: 7.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3718, allocations: 66.04 MB / 0.5616 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004776/0.3765, allocations: 3.185 MB / 0.5647 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.3785, allocations: 1.087 MB / 0.5658 GB, free: 272 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.3786, allocations: 11.94 kB / 0.5658 GB, free: 260 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.3788, allocations: 63.3 kB / 0.5659 GB, free: 196 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.379, allocations: 126.9 kB / 0.566 GB, free: 68 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005624/0.3796, allocations: 183.5 kB / 0.5662 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005417/0.3801, allocations: 461.9 kB / 0.5666 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.3803, allocations: 79.98 kB / 0.5667 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.3805, allocations: 179.3 kB / 0.5669 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.3808, allocations: 187.2 kB / 0.567 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.35e-05/0.3808, allocations: 32 kB / 0.5671 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.381, allocations: 55.98 kB / 0.5671 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.325e-05/0.3811, allocations: 75.69 kB / 0.5672 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.3813, allocations: 195.1 kB / 0.5674 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005549/0.3818, allocations: 460.6 kB / 0.5678 GB, free: 14.19 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3818, allocations: 0 / 0.5678 GB, free: 14.19 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3818, allocations: 0 / 0.5678 GB, free: 14.19 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.3818, allocations: 3.938 kB / 0.5678 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.001231/0.383, allocations: 0.6261 MB / 0.5684 GB, free: 13.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3831, allocations: 8.031 kB / 0.5684 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003107/0.3834, allocations: 72.64 kB / 0.5685 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/0.3839, allocations: 244.8 kB / 0.5687 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.83e-05/0.3839, allocations: 21.38 kB / 0.5688 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.016e-05/0.384, allocations: 40.38 kB / 0.5688 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006418/0.3846, allocations: 367.5 kB / 0.5692 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/0.3846, allocations: 7.953 kB / 0.5692 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.694e-05/0.3847, allocations: 19.98 kB / 0.5692 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.3847, allocations: 8 kB / 0.5692 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005169/0.3852, allocations: 259.6 kB / 0.5694 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002225/0.3874, allocations: 1.467 MB / 0.5709 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007415/0.3882, allocations: 403.8 kB / 0.5713 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.3884, allocations: 121.1 kB / 0.5714 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.3884, allocations: 8 kB / 0.5714 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.3885, allocations: 46.5 kB / 0.5714 GB, free: 10.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.134e-06/0.3885, allocations: 0 / 0.5714 GB, free: 10.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.003306/0.3918, allocations: 1.538 MB / 0.5729 GB, free: 8.551 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/0.3919, allocations: 187.9 kB / 0.5731 GB, free: 8.324 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/0.3922, allocations: 256.1 kB / 0.5733 GB, free: 8.066 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.3923, allocations: 33.7 kB / 0.5734 GB, free: 8.027 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.3924, allocations: 208.7 kB / 0.5736 GB, free: 7.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.3926, allocations: 186.4 kB / 0.5738 GB, free: 7.637 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.3927, allocations: 102.3 kB / 0.5739 GB, free: 7.531 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.3929, allocations: 346.8 kB / 0.5742 GB, free: 7.184 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/0.3932, allocations: 117.2 kB / 0.5743 GB, free: 7.066 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004057/0.3936, allocations: 292 kB / 0.5746 GB, free: 6.707 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007272/0.3943, allocations: 469.3 kB / 0.575 GB, free: 6.172 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3943, allocations: 0 / 0.575 GB, free: 6.172 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009183/0.3952, allocations: 494.1 kB / 0.5755 GB, free: 5.684 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/0.3952, allocations: 8.062 kB / 0.5755 GB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.3953, allocations: 8 kB / 0.5755 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/0.3953, allocations: 8.281 kB / 0.5755 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005261/0.3958, allocations: 147.8 kB / 0.5757 GB, free: 5.516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.832e-05/0.3958, allocations: 19.86 kB / 0.5757 GB, free: 5.496 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/0.3961, allocations: 23.89 kB / 0.5757 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/0.3961, allocations: 24 kB / 0.5757 GB, free: 5.449 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.0002161/0.3963, allocations: 170.5 kB / 0.5759 GB, free: 5.273 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.3965, allocations: 51.75 kB / 0.5759 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002756/0.3968, allocations: 127.3 kB / 0.5761 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.3968, allocations: 8 kB / 0.5761 GB, free: 5.078 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.3968, allocations: 3.938 kB / 0.5761 GB, free: 5.074 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.3968, allocations: 7.984 kB / 0.5761 GB, free: 5.066 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/0.3989, allocations: 1.213 MB / 0.5773 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/0.3989, allocations: 4.188 kB / 0.5773 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005412/0.3994, allocations: 119.9 kB / 0.5774 GB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.798e-06/0.3994, allocations: 8 kB / 0.5774 GB, free: 3.641 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.18e-05/0.3995, allocations: 12 kB / 0.5774 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-05/0.3995, allocations: 11.94 kB / 0.5774 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.3995, allocations: 7.984 kB / 0.5774 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.4007, allocations: 1.009 MB / 0.5784 GB, free: 2.543 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.594e-05/0.4008, allocations: 31.81 kB / 0.5784 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.595e-05/0.4008, allocations: 16 kB / 0.5784 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003865/0.4012, allocations: 15.98 kB / 0.5785 GB, free: 2.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.688e-05/0.4013, allocations: 47.81 kB / 0.5785 GB, free: 2.434 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.4013, allocations: 16 kB / 0.5785 GB, free: 2.418 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001751/0.4015, allocations: 179.1 kB / 0.5787 GB, free: 2.246 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4015, allocations: 0 / 0.5787 GB, free: 2.246 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006769/0.4022, allocations: 100 kB / 0.5788 GB, free: 2.148 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.0001379/0.4023, allocations: 115.1 kB / 0.5789 GB, free: 2.027 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006689/0.403, allocations: 330.6 kB / 0.5792 GB, free: 1.703 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.403, allocations: 5 kB / 0.5792 GB, free: 1.699 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003042/0.4033, allocations: 168 kB / 0.5794 GB, free: 1.535 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.4043, allocations: 86.61 kB / 0.5795 GB, free: 1.453 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.4068, allocations: 1.487 MB / 0.5809 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005484/0.4074, allocations: 0.8119 MB / 0.5817 GB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002048/0.4076, allocations: 47.34 kB / 0.5818 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.4077, allocations: 35.42 kB / 0.5818 GB, free: 14.96 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4077, allocations: 3.938 kB / 0.5818 GB, free: 14.96 MB / 430.1 MB Notification: Performance of Templates: time 0.009497/0.4172, allocations: 4.25 MB / 0.5859 GB, free: 10.75 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins/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.573907312937081]