Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001035/0.001035, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001785/0.002821, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0009554/0.0009554, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001329/0.002285, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.144/1.144, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1863/1.33, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1437/0.1437, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02535/0.1691, allocations: 12.32 MB / 266.1 MB, free: 3.875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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",fileNamePrefix="ModelicaTest_3.2.3_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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 267.4 MB, free: 2.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/3.051e-05, allocations: 10.19 kB / 267.4 MB, free: 2.586 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.0047/0.00473, allocations: 2.8 MB / 270.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002339/0.007069, allocations: 1.005 MB / 271.2 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002681/0.007337, allocations: 11.88 kB / 271.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.007511, allocations: 51.45 kB / 271.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002968/0.007807, allocations: 119 kB / 271.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005534/0.008361, allocations: 143.5 kB / 271.5 MB, free: 14.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005795/0.00894, allocations: 405.9 kB / 271.9 MB, free: 14.03 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.009136, allocations: 59.31 kB / 271.9 MB, free: 13.97 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004042/0.00954, allocations: 235.4 kB / 272.2 MB, free: 13.74 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.009796, allocations: 107.7 kB / 272.3 MB, free: 13.64 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.543e-05/0.009862, allocations: 28 kB / 272.3 MB, free: 13.61 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.01005, allocations: 44 kB / 272.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.519e-05/0.01012, allocations: 51.75 kB / 272.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.01024, allocations: 95.81 kB / 272.5 MB, free: 13.42 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004721/0.01072, allocations: 239.1 kB / 272.7 MB, free: 13.19 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.34e-05/0.01074, allocations: 3.984 kB / 272.7 MB, free: 13.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.01074, allocations: 0 / 272.7 MB, free: 13.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.673e-05/0.01076, allocations: 0 / 272.7 MB, free: 13.18 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001127/0.01189, allocations: 0.6126 MB / 273.3 MB, free: 12.55 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.01193, allocations: 15.89 kB / 273.4 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003481/0.01228, allocations: 142 kB / 273.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.01261, allocations: 197.2 kB / 273.7 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.01264, allocations: 25.02 kB / 273.7 MB, free: 12.13 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.374e-05/0.0127, allocations: 36.31 kB / 273.7 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003522/0.01305, allocations: 243.1 kB / 274 MB, free: 11.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.01308, allocations: 4.141 kB / 274 MB, free: 11.83 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.0131, allocations: 15.94 kB / 274 MB, free: 11.82 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.01311, allocations: 8 kB / 274 MB, free: 11.81 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002034/0.01332, allocations: 95.8 kB / 274.1 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.01475, allocations: 0.9863 MB / 275.1 MB, free: 10.67 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003957/0.01514, allocations: 241.1 kB / 275.3 MB, free: 10.39 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.958e-05/0.01524, allocations: 64.28 kB / 275.4 MB, free: 10.31 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.01527, allocations: 7.938 kB / 275.4 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.01531, allocations: 46.88 kB / 275.4 MB, free: 10.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 3.747e-06/0.01532, allocations: 0 / 275.4 MB, free: 10.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.00171/0.01703, allocations: 0.9153 MB / 276.4 MB, free: 9.215 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.885e-05/0.0171, allocations: 162.2 kB / 276.5 MB, free: 9.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.01728, allocations: 209 kB / 276.7 MB, free: 8.801 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.0173, allocations: 33.7 kB / 276.8 MB, free: 8.762 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.01741, allocations: 172.2 kB / 276.9 MB, free: 8.59 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.01752, allocations: 162.5 kB / 277.1 MB, free: 8.43 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.01767, allocations: 90.11 kB / 277.2 MB, free: 8.336 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.0178, allocations: 346.7 kB / 277.5 MB, free: 7.988 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.596e-05/0.01788, allocations: 36.98 kB / 277.5 MB, free: 7.953 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.01805, allocations: 194.9 kB / 277.7 MB, free: 7.703 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/0.0184, allocations: 302.5 kB / 278 MB, free: 7.344 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.0184, allocations: 8 kB / 278 MB, free: 7.336 MB / 282.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005083/0.01891, allocations: 261.8 kB / 278.3 MB, free: 7.074 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.01894, allocations: 8 kB / 278.3 MB, free: 7.066 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.01895, allocations: 4 kB / 278.3 MB, free: 7.062 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.01897, allocations: 8 kB / 278.3 MB, free: 7.055 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/0.01931, allocations: 144 kB / 278.5 MB, free: 6.914 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.01932, allocations: 15.88 kB / 278.5 MB, free: 6.898 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.01948, allocations: 19.94 kB / 278.5 MB, free: 6.879 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.0195, allocations: 16 kB / 278.5 MB, free: 6.863 MB / 282.7 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.0001243/0.01962, allocations: 145.8 kB / 278.6 MB, free: 6.711 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.599e-05/0.0197, allocations: 39.95 kB / 278.7 MB, free: 6.672 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.01987, allocations: 99.33 kB / 278.8 MB, free: 6.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.01987, allocations: 4 kB / 278.8 MB, free: 6.566 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.82e-06/0.01988, allocations: 3.984 kB / 278.8 MB, free: 6.562 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.01989, allocations: 7.938 kB / 278.8 MB, free: 6.555 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007871/0.02067, allocations: 0.7294 MB / 279.5 MB, free: 5.773 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.02068, allocations: 11.88 kB / 279.5 MB, free: 5.762 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002689/0.02095, allocations: 127.6 kB / 279.7 MB, free: 5.637 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.02098, allocations: 31.75 kB / 279.7 MB, free: 5.605 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.02098, allocations: 4 kB / 279.7 MB, free: 5.602 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.021, allocations: 12 kB / 279.7 MB, free: 5.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.021, allocations: 7.984 kB / 279.7 MB, free: 5.582 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.299e-06/0.02101, allocations: 7.938 kB / 279.7 MB, free: 5.574 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004047/0.02141, allocations: 0.6898 MB / 280.4 MB, free: 4.836 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.02144, allocations: 12 kB / 280.4 MB, free: 4.824 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.0216, allocations: 8.125 kB / 280.4 MB, free: 4.816 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.02164, allocations: 35.89 kB / 280.5 MB, free: 4.781 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.557e-06/0.02165, allocations: 12 kB / 280.5 MB, free: 4.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.807e-05/0.0217, allocations: 66.78 kB / 280.5 MB, free: 4.703 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0217, allocations: 0 / 280.5 MB, free: 4.703 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003256/0.02202, allocations: 87.94 kB / 280.6 MB, free: 4.617 MB / 282.7 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.0001143/0.02214, allocations: 96.34 kB / 280.7 MB, free: 4.512 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002365/0.02237, allocations: 205.2 kB / 280.9 MB, free: 4.309 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.741e-05/0.02239, allocations: 11.98 kB / 280.9 MB, free: 4.297 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.02252, allocations: 118.2 kB / 281.1 MB, free: 4.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007386/0.02326, allocations: 0.688 MB / 281.7 MB, free: 3.359 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.02541, allocations: 0.7436 MB / 282.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.346e-05/0.02551, allocations: 105.1 kB / 282.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.02562, allocations: 35.28 kB / 282.6 MB, free: 2.395 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.02577, allocations: 127.3 kB / 282.7 MB, free: 2.27 MB / 282.7 MB Notification: Performance of SimCode: time 8.22e-07/0.02577, allocations: 0 / 282.7 MB, free: 2.27 MB / 282.7 MB Notification: Performance of Templates: time 0.1329/0.1586, allocations: 3.632 MB / 286.4 MB, free: 13.48 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/TestBraking/TestBraking.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.275532964617014]