Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.001244/0.001244, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001367/0.001367, allocations: 164.8 kB / 25.61 MB, free: 8.902 MB / 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 0.9631/0.9631, allocations: 177.1 MB / 206 MB, free: 4.504 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.1445/0.1445, allocations: 32.81 MB / 295.4 MB, free: 15.39 MB / 282.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.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 377.3 MB, free: 25.62 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.774e-05/3.902e-05, allocations: 10.31 kB / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.002774/0.002813, allocations: 2.007 MB / 379.3 MB, free: 23.58 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.004202, allocations: 1.105 MB / 380.4 MB, free: 22.47 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.004346, allocations: 4 kB / 380.4 MB, free: 22.46 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004593/0.004805, allocations: 266.9 kB / 380.7 MB, free: 22.2 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005313/0.005336, allocations: 270.9 kB / 380.9 MB, free: 21.94 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.006385, allocations: 0.6313 MB / 381.6 MB, free: 21.3 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003881/0.006773, allocations: 367 kB / 381.9 MB, free: 20.95 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.006917, allocations: 40.92 kB / 382 MB, free: 20.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.007079, allocations: 191.4 kB / 382.1 MB, free: 20.72 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.007256, allocations: 203.5 kB / 382.3 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.007279, allocations: 16 kB / 382.4 MB, free: 20.5 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.00741, allocations: 75.84 kB / 382.4 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.806e-05/0.007508, allocations: 99.61 kB / 382.5 MB, free: 20.33 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.237e-05/0.007551, allocations: 63.66 kB / 382.6 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.007803, allocations: 254.9 kB / 382.8 MB, free: 20.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.007808, allocations: 0 / 382.8 MB, free: 20.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.007809, allocations: 0 / 382.8 MB, free: 20.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.007813, allocations: 3.938 kB / 382.8 MB, free: 20.02 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004634/0.008277, allocations: 0.7048 MB / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.008315, allocations: 11.98 kB / 383.6 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.832e-05/0.008373, allocations: 56.66 kB / 383.6 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.008578, allocations: 278.6 kB / 383.9 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.008589, allocations: 4.375 kB / 383.9 MB, free: 18.9 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.008613, allocations: 16.33 kB / 383.9 MB, free: 18.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.008737, allocations: 98.91 kB / 384 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.008747, allocations: 192 / 384 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.008756, allocations: 4.125 kB / 384 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.008762, allocations: 4 kB / 384 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.171e-05/0.008804, allocations: 35.84 kB / 384 MB, free: 18.74 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/0.009168, allocations: 415.9 kB / 384.4 MB, free: 18.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.98e-05/0.009248, allocations: 74.62 kB / 384.5 MB, free: 18.22 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.291e-05/0.009271, allocations: 23.67 kB / 384.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.009291, allocations: 4 kB / 384.5 MB, free: 18.19 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.009308, allocations: 41.31 kB / 384.6 MB, free: 18.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.009309, allocations: 3.984 kB / 384.6 MB, free: 18.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004461/0.009755, allocations: 263.1 kB / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/0.009776, allocations: 51.41 kB / 384.9 MB, free: 17.81 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.00999, allocations: 474.5 kB / 385.4 MB, free: 17.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.01, allocations: 33.7 kB / 385.4 MB, free: 17.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.718e-05/0.01009, allocations: 271.1 kB / 385.7 MB, free: 17.03 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.01012, allocations: 63.47 kB / 385.7 MB, free: 16.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.01016, allocations: 43.34 kB / 385.8 MB, free: 16.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.438e-05/0.01023, allocations: 0.5352 MB / 386.3 MB, free: 16.37 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.59e-05/0.01026, allocations: 23.92 kB / 386.3 MB, free: 16.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.505e-05/0.01029, allocations: 19.98 kB / 386.3 MB, free: 16.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.258e-05/0.01035, allocations: 61.84 kB / 386.4 MB, free: 16.26 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.01035, allocations: 0 / 386.4 MB, free: 16.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001425/0.01049, allocations: 149.3 kB / 386.5 MB, free: 16.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.0105, allocations: 4 kB / 386.6 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.01051, allocations: 0 / 386.6 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.01052, allocations: 3.938 kB / 386.6 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.01062, allocations: 47.91 kB / 386.6 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/0.01063, allocations: 0 / 386.6 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.2e-05/0.01066, allocations: 4 kB / 386.6 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.01067, allocations: 4 kB / 386.6 MB, free: 16.05 MB / 314.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 (17): * Single equations (assignments): 17 * 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.091e-05/0.01074, allocations: 160.6 kB / 386.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.01078, allocations: 47.72 kB / 386.8 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.011, allocations: 183 kB / 387 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.011, allocations: 7.938 kB / 387 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.011, allocations: 0 / 387 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.01101, allocations: 4 kB / 387 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003524/0.01136, allocations: 0.4977 MB / 387.5 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01136, allocations: 3.938 kB / 387.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.519e-05/0.01143, allocations: 27.98 kB / 387.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.01143, allocations: 0 / 387.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.01144, allocations: 8 kB / 387.5 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.01144, allocations: 3.938 kB / 387.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01144, allocations: 3.984 kB / 387.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.01158, allocations: 293.7 kB / 387.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.975e-05/0.0116, allocations: 31.7 kB / 387.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.01162, allocations: 11.98 kB / 387.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.472e-05/0.01167, allocations: 4 kB / 387.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.0117, allocations: 11.98 kB / 387.9 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.0117, allocations: 4 kB / 387.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.01182, allocations: 311 kB / 388.2 MB, free: 14.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.01182, allocations: 0 / 388.2 MB, free: 14.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001984/0.01202, allocations: 51.92 kB / 388.3 MB, free: 14.33 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (17): * Single equations (assignments): 17 * 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.001511/0.01353, allocations: 0.6588 MB / 388.9 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.01366, allocations: 79.55 kB / 389 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01366, allocations: 0 / 389 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.066e-05/0.0137, allocations: 59.53 kB / 389 MB, free: 13.81 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.01402, allocations: 87.17 kB / 389.1 MB, free: 13.74 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005708/0.01459, allocations: 0.5916 MB / 389.7 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.444e-05/0.01465, allocations: 124.2 kB / 389.8 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.616e-05/0.01473, allocations: 49.91 kB / 389.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.01483, allocations: 122.2 kB / 390 MB, free: 12.8 MB / 314.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01483, allocations: 0 / 390 MB, free: 12.8 MB / 314.7 MB Notification: Performance of Templates: time 0.005454/0.02029, allocations: 3.844 MB / 393.9 MB, free: 9.012 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.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.3602287592366338]