Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001353/0.001353, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001496/0.001496, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.476/1.476, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2212/0.2212, allocations: 44.91 MB / 359.6 MB, free: 6.262 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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=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.0.0_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.0.0_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 71.89 kB / 0.4943 GB, free: 10.22 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3093, allocations: 65.46 MB / 0.5582 GB, free: 7.676 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004747/0.3141, allocations: 2.916 MB / 0.5611 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.3159, allocations: 1.028 MB / 0.5621 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.3161, allocations: 15.88 kB / 0.5621 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.3162, allocations: 55.44 kB / 0.5621 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.3165, allocations: 111 kB / 0.5622 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005117/0.317, allocations: 155.6 kB / 0.5624 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004614/0.3174, allocations: 386.2 kB / 0.5628 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.3176, allocations: 53.36 kB / 0.5628 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.3178, allocations: 159.4 kB / 0.563 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.318, allocations: 147.3 kB / 0.5631 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.219e-05/0.3181, allocations: 32 kB / 0.5631 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.3182, allocations: 55.98 kB / 0.5632 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.995e-05/0.3183, allocations: 59.77 kB / 0.5632 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.3184, allocations: 171.1 kB / 0.5634 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004754/0.3189, allocations: 388.8 kB / 0.5638 GB, free: 1.992 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3189, allocations: 0 / 0.5638 GB, free: 1.992 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3189, allocations: 0 / 0.5638 GB, free: 1.992 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.3189, allocations: 0 / 0.5638 GB, free: 1.992 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001045/0.32, allocations: 0.5558 MB / 0.5643 GB, free: 1.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.32, allocations: 12.03 kB / 0.5643 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003046/0.3203, allocations: 56.69 kB / 0.5644 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.3207, allocations: 222.9 kB / 0.5646 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.3207, allocations: 21.03 kB / 0.5646 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-05/0.3208, allocations: 36.33 kB / 0.5647 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004931/0.3213, allocations: 302.3 kB / 0.5649 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.3213, allocations: 11.98 kB / 0.565 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.3213, allocations: 12 kB / 0.565 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/0.3214, allocations: 7.938 kB / 0.565 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003761/0.3217, allocations: 203.8 kB / 0.5652 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/0.3237, allocations: 1.254 MB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005421/0.3242, allocations: 317.4 kB / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.3244, allocations: 116.1 kB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.3244, allocations: 4 kB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.3244, allocations: 50.48 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=36): time 1.683e-06/0.3244, allocations: 0 / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002615/0.3271, allocations: 1.221 MB / 0.5681 GB, free: 13.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.3272, allocations: 162.2 kB / 0.5682 GB, free: 13.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.3274, allocations: 229.1 kB / 0.5684 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.3274, allocations: 33.7 kB / 0.5685 GB, free: 12.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.3276, allocations: 188.5 kB / 0.5686 GB, free: 12.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.3277, allocations: 158.6 kB / 0.5688 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.3278, allocations: 86.14 kB / 0.5689 GB, free: 12.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.328, allocations: 350.8 kB / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.3282, allocations: 92.95 kB / 0.5693 GB, free: 11.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.3285, allocations: 243 kB / 0.5695 GB, free: 11.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004915/0.3289, allocations: 370.8 kB / 0.5699 GB, free: 11.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.3289, allocations: 4 kB / 0.5699 GB, free: 11.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006495/0.3296, allocations: 414 kB / 0.5703 GB, free: 10.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.3296, allocations: 10.72 kB / 0.5703 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.3296, allocations: 8 kB / 0.5703 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.3297, allocations: 4 kB / 0.5703 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/0.3301, allocations: 115.8 kB / 0.5704 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.3301, allocations: 11.94 kB / 0.5704 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.3303, allocations: 19.98 kB / 0.5704 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.3303, allocations: 20 kB / 0.5705 GB, free: 10.58 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (62): * Single equations (assignments): 62 * 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.0001705/0.3305, allocations: 161.6 kB / 0.5706 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.3306, allocations: 31.81 kB / 0.5706 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/0.3309, allocations: 127.3 kB / 0.5708 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.3309, allocations: 12 kB / 0.5708 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.3309, allocations: 0 / 0.5708 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.457e-06/0.3309, allocations: 4 kB / 0.5708 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.3325, allocations: 1.005 MB / 0.5718 GB, free: 9.152 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.3325, allocations: 7.938 kB / 0.5718 GB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004371/0.3329, allocations: 95.83 kB / 0.5719 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.186e-06/0.3329, allocations: 4.25 kB / 0.5719 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.3329, allocations: 20 kB / 0.5719 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.3329, allocations: 4 kB / 0.5719 GB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.333, allocations: 4 kB / 0.5719 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008537/0.3338, allocations: 0.8382 MB / 0.5727 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-05/0.3339, allocations: 27.81 kB / 0.5727 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.633e-05/0.3339, allocations: 19.98 kB / 0.5728 GB, free: 8.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003046/0.3342, allocations: 12 kB / 0.5728 GB, free: 8.078 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/0.3343, allocations: 36.06 kB / 0.5728 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.3343, allocations: 12 kB / 0.5728 GB, free: 8.031 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.3344, allocations: 164.5 kB / 0.573 GB, free: 7.871 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3344, allocations: 0 / 0.573 GB, free: 7.871 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005766/0.335, allocations: 84 kB / 0.5731 GB, free: 7.789 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,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 (41): * Single equations (assignments): 41 * 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.0001321/0.3351, allocations: 111.5 kB / 0.5732 GB, free: 7.672 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004935/0.3356, allocations: 275.3 kB / 0.5734 GB, free: 7.402 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3356, allocations: 4.75 kB / 0.5734 GB, free: 7.398 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.3358, allocations: 132 kB / 0.5736 GB, free: 7.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008667/0.3367, allocations: 77.25 kB / 0.5736 GB, free: 7.199 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.3387, allocations: 1.292 MB / 0.5749 GB, free: 5.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.3391, allocations: 0.792 MB / 0.5757 GB, free: 5.023 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.3392, allocations: 35.72 kB / 0.5757 GB, free: 4.988 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3392, allocations: 0 / 0.5757 GB, free: 4.988 MB / 414.1 MB Notification: Performance of Templates: time 0.006765/0.346, allocations: 4.047 MB / 0.5796 GB, free: 0.9531 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 7.905658707022667]