Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.001139/0.001139, 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.001214/0.001214, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.9562/0.9562, allocations: 177.1 MB / 206.1 MB, free: 4.484 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.1325/0.1325, allocations: 32.8 MB / 295.4 MB, free: 15.37 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.485e-05, allocations: 2.312 kB / 377.3 MB, free: 25.56 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002926/0.002951, allocations: 1.642 MB / 378.9 MB, free: 23.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009383/0.003889, allocations: 0.5219 MB / 379.5 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.445e-05/0.003964, allocations: 0 / 379.5 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.004269, allocations: 79.7 kB / 379.5 MB, free: 23.3 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003367/0.004606, allocations: 107.5 kB / 379.6 MB, free: 23.2 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.004906, allocations: 87.69 kB / 379.7 MB, free: 23.11 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.005082, allocations: 87.69 kB / 379.8 MB, free: 23.02 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.005185, allocations: 15.98 kB / 379.8 MB, free: 23.01 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.273e-05/0.005268, allocations: 47.89 kB / 379.9 MB, free: 22.96 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.005389, allocations: 55.86 kB / 379.9 MB, free: 22.91 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.005404, allocations: 0 / 379.9 MB, free: 22.91 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.005e-05/0.005494, allocations: 47.92 kB / 380 MB, free: 22.86 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.134e-05/0.005545, allocations: 23.92 kB / 380 MB, free: 22.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.005572, allocations: 11.92 kB / 380 MB, free: 22.82 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.005759, allocations: 103.5 kB / 380.1 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.005761, allocations: 0 / 380.1 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.005763, allocations: 0 / 380.1 MB, free: 22.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.005769, allocations: 4 kB / 380.1 MB, free: 22.72 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.0004289/0.006198, allocations: 439.9 kB / 380.5 MB, free: 22.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.006243, allocations: 11.98 kB / 380.6 MB, free: 22.24 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.006287, allocations: 16.84 kB / 380.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.006438, allocations: 149.1 kB / 380.7 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.00645, allocations: 4.375 kB / 380.7 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.006473, allocations: 4.312 kB / 380.7 MB, free: 22.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.006593, allocations: 54.95 kB / 380.8 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.006605, allocations: 8.172 kB / 380.8 MB, free: 21.97 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.006616, allocations: 4.125 kB / 380.8 MB, free: 21.97 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.00662, allocations: 4 kB / 380.8 MB, free: 21.96 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.08e-05/0.006651, allocations: 7.984 kB / 380.8 MB, free: 21.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.006953, allocations: 268.4 kB / 381.1 MB, free: 21.67 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.546e-05/0.007028, allocations: 38.98 kB / 381.1 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.146e-05/0.00705, allocations: 15.69 kB / 381.1 MB, free: 21.6 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.007067, allocations: 0 / 381.1 MB, free: 21.6 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.007087, allocations: 41.33 kB / 381.2 MB, free: 21.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.007088, allocations: 3.938 kB / 381.2 MB, free: 21.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.000508/0.007596, allocations: 149.5 kB / 381.3 MB, free: 21.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/0.007619, allocations: 59.34 kB / 381.4 MB, free: 21.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.007745, allocations: 234.8 kB / 381.6 MB, free: 21.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/0.007753, allocations: 29.7 kB / 381.6 MB, free: 21.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.942e-05/0.007802, allocations: 154.8 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.007831, allocations: 31.73 kB / 381.8 MB, free: 20.85 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.007869, allocations: 31.36 kB / 381.8 MB, free: 20.81 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.856e-05/0.007947, allocations: 0.4962 MB / 382.3 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.796e-05/0.007965, allocations: 4 kB / 382.3 MB, free: 20.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/0.007984, allocations: 16.05 kB / 382.3 MB, free: 20.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.333e-05/0.008027, allocations: 27.69 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.008031, allocations: 7.938 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001018/0.008133, allocations: 77.56 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.008145, allocations: 4 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.008151, allocations: 0 / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.00816, allocations: 0 / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.143e-05/0.008241, allocations: 15.98 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.008244, allocations: 0 / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.661e-05/0.008271, allocations: 4 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.008278, 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.878e-05/0.008337, allocations: 168.5 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.008367, allocations: 15.91 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.008496, allocations: 83.08 kB / 382.7 MB, free: 19.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.0085, allocations: 0 / 382.7 MB, free: 19.86 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.008502, allocations: 0 / 382.7 MB, free: 19.86 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.008507, allocations: 432 / 382.7 MB, free: 19.86 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.008833, allocations: 341.6 kB / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.008836, allocations: 4 kB / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.757e-05/0.008894, allocations: 19.98 kB / 383.1 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.008897, allocations: 0 / 383.1 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.008905, allocations: 11.97 kB / 383.1 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.008907, allocations: 4 kB / 383.1 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.00891, allocations: 3.984 kB / 383.1 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.009043, allocations: 235.8 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.204e-05/0.009055, allocations: 7.906 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.00907, allocations: 8 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.479e-05/0.009125, allocations: 3.984 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.009162, allocations: 4 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/0.00917, allocations: 7.984 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.875e-05/0.009229, allocations: 163.1 kB / 383.5 MB, free: 19 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009229, allocations: 4 kB / 383.5 MB, free: 18.99 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000233/0.009462, allocations: 19.94 kB / 383.6 MB, free: 18.97 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.001193/0.01065, allocations: 438.7 kB / 384 MB, free: 18.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.01078, allocations: 39.61 kB / 384 MB, free: 18.67 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.01079, allocations: 0 / 384 MB, free: 18.67 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.917e-05/0.01082, allocations: 31.59 kB / 384.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.01111, allocations: 18.83 kB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.01148, allocations: 227.9 kB / 384.3 MB, free: 18.37 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.067e-05/0.01152, allocations: 75.19 kB / 384.4 MB, free: 18.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.653e-05/0.01157, allocations: 13.03 kB / 384.4 MB, free: 18.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.448e-05/0.01163, allocations: 82.19 kB / 384.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of SimCode: time 1.242e-06/0.01163, allocations: 0 / 384.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of Templates: time 0.004241/0.01588, allocations: 1.525 MB / 386 MB, free: 16.67 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.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.1768667129799724]