Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001113/0.001113, allocations: 83.69 kB / 21.18 MB, free: 3.395 MB / 18.57 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.001107/0.001107, allocations: 165 kB / 24.56 MB, free: 24 kB / 18.57 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.026/1.026, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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.2392/0.2392, allocations: 32.81 MB / 294.3 MB, free: 1.27 MB / 266.7 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.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.48e-05/1.593e-05, allocations: 6.25 kB / 376 MB, free: 4.629 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002204/0.00222, allocations: 1.657 MB / 377.7 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007939/0.003014, allocations: 0.5453 MB / 378.2 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.155e-05/0.003075, allocations: 4 kB / 378.2 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.003367, allocations: 67.7 kB / 378.3 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003284/0.003695, allocations: 111.5 kB / 378.4 MB, free: 2.227 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.003983, allocations: 115.6 kB / 378.5 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.004154, allocations: 83.75 kB / 378.6 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.004255, allocations: 11.98 kB / 378.6 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.958e-05/0.004325, allocations: 39.91 kB / 378.7 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.004429, allocations: 47.88 kB / 378.7 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.004448, allocations: 4 kB / 378.7 MB, free: 1.93 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.616e-05/0.004544, allocations: 51.84 kB / 378.8 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.399e-05/0.004598, allocations: 19.92 kB / 378.8 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.00463, allocations: 19.94 kB / 378.8 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.004805, allocations: 87.66 kB / 378.9 MB, free: 1.754 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.004809, allocations: 3.938 kB / 378.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.00481, allocations: 0 / 378.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.004816, allocations: 0 / 378.9 MB, free: 1.75 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004665/0.005282, allocations: 435.9 kB / 379.3 MB, free: 1.289 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.00532, allocations: 8.031 kB / 379.3 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.745e-05/0.005368, allocations: 12.89 kB / 379.3 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.005524, allocations: 152.3 kB / 379.5 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.005537, allocations: 8.375 kB / 379.5 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.005558, allocations: 4.375 kB / 379.5 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.005697, allocations: 58.95 kB / 379.6 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.005709, allocations: 192 / 379.6 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.005719, allocations: 4.125 kB / 379.6 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.005727, allocations: 0 / 379.6 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.243e-05/0.005759, allocations: 11.98 kB / 379.6 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003051/0.006064, allocations: 291.7 kB / 379.9 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.792e-05/0.006132, allocations: 43.05 kB / 379.9 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.393e-05/0.006156, allocations: 15.62 kB / 379.9 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.006174, allocations: 4 kB / 379.9 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.006196, allocations: 37.39 kB / 380 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.006197, allocations: 0 / 380 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005834/0.00678, allocations: 173.8 kB / 380.1 MB, free: 388 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.006811, allocations: 55.34 kB / 380.2 MB, free: 320 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.006944, allocations: 234.5 kB / 380.4 MB, free: 64 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.268e-06/0.006953, allocations: 25.7 kB / 380.4 MB, free: 32 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.897e-05/0.007022, allocations: 158.8 kB / 380.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.007048, allocations: 23.8 kB / 380.6 MB, free: 15.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.007082, allocations: 31.36 kB / 380.6 MB, free: 15.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.007193, allocations: 0.5 MB / 381.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.616e-05/0.00722, allocations: 8 kB / 381.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.849e-05/0.007238, allocations: 11.98 kB / 381.2 MB, free: 15.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.949e-05/0.007288, allocations: 35.91 kB / 381.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.007289, allocations: 0 / 381.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001049/0.007394, allocations: 85.52 kB / 381.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.007408, allocations: 4 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.007413, allocations: 0 / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.007427, allocations: 0 / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.675e-05/0.007513, allocations: 19.98 kB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.007518, allocations: 4 kB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/0.007538, allocations: 0 / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.007547, allocations: 11.98 kB / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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 7.314e-05/0.00762, allocations: 164.5 kB / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.007644, allocations: 19.84 kB / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.007788, allocations: 83.14 kB / 381.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.007792, allocations: 4 kB / 381.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.007795, allocations: 0 / 381.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.007798, allocations: 0 / 381.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.008103, allocations: 381 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.008104, allocations: 0 / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/0.008146, allocations: 12 kB / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.008148, allocations: 0 / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.008158, allocations: 7.984 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.00816, allocations: 0 / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.008162, allocations: 3.938 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.008279, allocations: 235.5 kB / 382.2 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.718e-06/0.008289, allocations: 11.95 kB / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.008304, allocations: 4 kB / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.403e-05/0.008338, allocations: 11.95 kB / 382.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-05/0.008366, allocations: 7.938 kB / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.008371, allocations: 4 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.729e-05/0.008438, allocations: 167.9 kB / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008438, allocations: 0 / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001607/0.008599, allocations: 19.92 kB / 382.4 MB, free: 13.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (8): * Single equations (assignments): 8 * 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.0008648/0.009464, allocations: 449 kB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001141/0.009578, allocations: 39.67 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.00958, allocations: 0 / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.306e-05/0.009613, allocations: 39.59 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.009831, allocations: 15.98 kB / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.01018, allocations: 230.2 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.901e-05/0.01022, allocations: 67.33 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.429e-05/0.01026, allocations: 21.02 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.01029, allocations: 20.56 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01029, allocations: 0 / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of Templates: time 0.003225/0.01352, allocations: 1.519 MB / 384.8 MB, free: 11.64 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.05471697030589]