Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001036/0.001036, 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.001095/0.001095, allocations: 164.9 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 1.023/1.023, allocations: 177.1 MB / 206 MB, free: 4.5 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.1463/0.1463, allocations: 32.8 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.CombiTable1Ds.Test30,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.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.CombiTable1Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.997e-05, allocations: 2.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.001946/0.001966, allocations: 1.642 MB / 378.9 MB, free: 23.92 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000666/0.002632, allocations: 0.5258 MB / 379.5 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.51e-05/0.002697, allocations: 0 / 379.5 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.002953, allocations: 75.7 kB / 379.5 MB, free: 23.31 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002327/0.003186, allocations: 107.5 kB / 379.6 MB, free: 23.21 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.003372, allocations: 91.62 kB / 379.7 MB, free: 23.12 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.003514, allocations: 87.73 kB / 379.8 MB, free: 23.03 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.329e-05/0.003608, allocations: 12 kB / 379.8 MB, free: 23.02 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.394e-05/0.003672, allocations: 47.88 kB / 379.9 MB, free: 22.97 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.548e-05/0.003757, allocations: 51.88 kB / 379.9 MB, free: 22.92 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.00377, allocations: 4 kB / 379.9 MB, free: 22.92 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.717e-05/0.003837, allocations: 43.92 kB / 380 MB, free: 22.88 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.12e-05/0.003878, allocations: 23.92 kB / 380 MB, free: 22.85 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.324e-05/0.003902, allocations: 19.92 kB / 380 MB, free: 22.83 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.004045, allocations: 95.59 kB / 380.1 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.004047, allocations: 0 / 380.1 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.004048, allocations: 0 / 380.1 MB, free: 22.74 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.004054, allocations: 3.938 kB / 380.1 MB, free: 22.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003702/0.004424, allocations: 443.9 kB / 380.5 MB, free: 22.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.004463, allocations: 15.98 kB / 380.6 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/0.004495, allocations: 12.84 kB / 380.6 MB, free: 22.24 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.004608, allocations: 147 kB / 380.7 MB, free: 22.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.004616, allocations: 384 / 380.7 MB, free: 22.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.004632, allocations: 8.375 kB / 380.7 MB, free: 22.06 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.347e-05/0.004715, allocations: 58.94 kB / 380.8 MB, free: 21.99 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.004725, allocations: 4.172 kB / 380.8 MB, free: 21.99 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.004732, allocations: 4.125 kB / 380.8 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.004736, allocations: 0 / 380.8 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.196e-05/0.004758, allocations: 11.98 kB / 380.8 MB, free: 21.97 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001956/0.004954, allocations: 272.3 kB / 381.1 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.957e-05/0.005003, allocations: 35.06 kB / 381.1 MB, free: 21.63 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.52e-05/0.005018, allocations: 11.77 kB / 381.1 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.005037, allocations: 8 kB / 381.1 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/0.005051, allocations: 41.33 kB / 381.2 MB, free: 21.56 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.005052, allocations: 0 / 381.2 MB, free: 21.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004303/0.005483, allocations: 153.7 kB / 381.3 MB, free: 21.4 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.005506, allocations: 51.41 kB / 381.4 MB, free: 21.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.633e-05/0.005592, allocations: 238.8 kB / 381.6 MB, free: 21.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.953e-06/0.005599, allocations: 29.64 kB / 381.6 MB, free: 21.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.99e-05/0.005639, allocations: 154.8 kB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.005663, allocations: 35.72 kB / 381.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.005689, allocations: 27.38 kB / 381.8 MB, free: 20.83 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.209e-05/0.005751, allocations: 0.4962 MB / 382.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.507e-05/0.005766, allocations: 11.98 kB / 382.3 MB, free: 20.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.388e-05/0.00578, allocations: 8.062 kB / 382.3 MB, free: 20.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.546e-05/0.005816, allocations: 31.67 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.005817, allocations: 3.938 kB / 382.4 MB, free: 20.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.905e-05/0.005886, allocations: 73.56 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.005897, allocations: 4 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.005902, allocations: 0 / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.005911, allocations: 4 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.991e-05/0.005971, allocations: 24.03 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.005974, allocations: 0 / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.953e-05/0.005993, allocations: 3.984 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.005999, allocations: 4 kB / 382.5 MB, free: 20.14 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 (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 5.038e-05/0.006049, allocations: 160.5 kB / 382.6 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.00607, allocations: 15.91 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.006181, allocations: 87.06 kB / 382.7 MB, free: 19.87 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.006184, allocations: 0 / 382.7 MB, free: 19.87 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.006186, allocations: 0 / 382.7 MB, free: 19.87 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.006189, allocations: 0 / 382.7 MB, free: 19.87 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.006407, allocations: 345.6 kB / 383.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.006409, allocations: 0 / 383.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.432e-05/0.006443, allocations: 15.98 kB / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.006446, allocations: 4 kB / 383.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.006453, allocations: 4 kB / 383.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.006455, allocations: 0 / 383.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.006457, allocations: 4 kB / 383.1 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.387e-05/0.006551, allocations: 239.8 kB / 383.3 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-06/0.00656, allocations: 11.91 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.918e-06/0.00657, allocations: 0 / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.319e-05/0.006603, allocations: 12.03 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.676e-05/0.00663, allocations: 7.984 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.006634, allocations: 3.938 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.517e-05/0.006679, allocations: 163.1 kB / 383.5 MB, free: 19.01 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006679, allocations: 0 / 383.5 MB, free: 19.01 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001587/0.006837, allocations: 27.92 kB / 383.6 MB, free: 18.98 MB / 314.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.0009177/0.007755, allocations: 437 kB / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.213e-05/0.007837, allocations: 39.61 kB / 384 MB, free: 18.69 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.007839, allocations: 4 kB / 384 MB, free: 18.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.544e-05/0.007864, allocations: 31.59 kB / 384.1 MB, free: 18.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.008072, allocations: 19.98 kB / 384.1 MB, free: 18.63 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.008403, allocations: 219.8 kB / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.338e-05/0.008436, allocations: 71.2 kB / 384.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.662e-05/0.008473, allocations: 17.02 kB / 384.4 MB, free: 18.28 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.606e-05/0.008529, allocations: 86.25 kB / 384.5 MB, free: 18.19 MB / 314.7 MB Notification: Performance of SimCode: time 7.31e-07/0.00853, allocations: 0 / 384.5 MB, free: 18.19 MB / 314.7 MB Notification: Performance of Templates: time 0.003099/0.01163, allocations: 1.522 MB / 386 MB, free: 16.69 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.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.3252083607949317]