Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.001994/0.001994, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002218/0.002218, allocations: 169.3 kB / 24.28 MB, free: 152 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.606/1.606, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3668/0.3668, allocations: 32.8 MB / 293.9 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 179] 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.699e-05/3.904e-05, allocations: 5.266 kB / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.004676/0.004716, allocations: 1.611 MB / 376.9 MB, free: 3.355 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.006507, allocations: 0.5491 MB / 377.4 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.621e-05/0.006594, allocations: 0 / 377.4 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.007596, allocations: 455.1 kB / 377.9 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008388/0.008435, allocations: 291.2 kB / 378.2 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007091/0.009144, allocations: 175.5 kB / 378.3 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004263/0.00957, allocations: 171.6 kB / 378.5 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.009699, allocations: 11.98 kB / 378.5 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000243/0.009942, allocations: 115.8 kB / 378.6 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004503/0.01039, allocations: 243.6 kB / 378.9 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.759e-05/0.01043, allocations: 4 kB / 378.9 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.01056, allocations: 23.94 kB / 378.9 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.01073, allocations: 79.7 kB / 379 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.511e-05/0.01081, allocations: 35.75 kB / 379 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005292/0.01134, allocations: 235.1 kB / 379.2 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.01135, allocations: 0 / 379.2 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.01135, allocations: 3.938 kB / 379.2 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.914e-06/0.01136, allocations: 0 / 379.2 MB, free: 0.9922 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001277/0.01263, allocations: 0.7046 MB / 380 MB, free: 256 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.01269, allocations: 8.031 kB / 380 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.0128, allocations: 44.66 kB / 380 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000532/0.01334, allocations: 255.2 kB / 380.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.01335, allocations: 384 / 380.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.01337, allocations: 4.375 kB / 380.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.01356, allocations: 50.25 kB / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.01357, allocations: 192 / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.01358, allocations: 1.688 kB / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.01359, allocations: 0 / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.0137, allocations: 19.98 kB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.01471, allocations: 463.6 kB / 380.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.01486, allocations: 35.06 kB / 380.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.537e-05/0.01494, allocations: 11.75 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.01497, allocations: 3.984 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.01502, allocations: 37.39 kB / 380.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.01502, allocations: 4 kB / 380.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004223/0.01544, allocations: 93.34 kB / 381 MB, free: 15.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/0.0155, allocations: 55.34 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.01674, allocations: 0.6785 MB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.01677, allocations: 25.7 kB / 381.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004152/0.01718, allocations: 298.8 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.01722, allocations: 11.89 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.334e-05/0.01728, allocations: 19.38 kB / 382 MB, free: 14.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004739/0.01775, allocations: 0.5626 MB / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.851e-05/0.01782, allocations: 20.05 kB / 382.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.075e-05/0.01786, allocations: 4 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.01797, allocations: 27.67 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.01798, allocations: 0 / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00025/0.01823, allocations: 85.34 kB / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.01825, allocations: 8 kB / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.01826, allocations: 0 / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.01828, allocations: 0 / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.01839, allocations: 12.03 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.01839, allocations: 0 / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.77e-05/0.01847, allocations: 4 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.01848, allocations: 0 / 382.8 MB, free: 13.27 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 (2): * Single equations (assignments): 2 * 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.0001955/0.01867, allocations: 156.6 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.01878, allocations: 47.7 kB / 383 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002882/0.01906, allocations: 88.64 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.01907, allocations: 0 / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/0.01908, allocations: 7.922 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.01909, allocations: 4.031 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006223/0.01971, allocations: 312.5 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01971, allocations: 0 / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.875e-05/0.01976, allocations: 4 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.01976, allocations: 0 / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.01977, allocations: 0 / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.01978, allocations: 4 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01978, allocations: 0 / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/0.02011, allocations: 235.6 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.603e-05/0.02019, allocations: 31.72 kB / 383.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.02023, allocations: 12.02 kB / 383.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.02034, allocations: 4 kB / 383.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.02037, allocations: 3.938 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.02038, allocations: 3.938 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007621/0.02114, allocations: 442.8 kB / 384.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.02114, allocations: 0 / 384.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004505/0.02159, allocations: 20 kB / 384.1 MB, free: 11.85 MB / 362.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 (2): * Single equations (assignments): 2 * 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.003287/0.02488, allocations: 376.9 kB / 384.5 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002543/0.02513, allocations: 19.67 kB / 384.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.02513, allocations: 0 / 384.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.14e-05/0.0252, allocations: 19.69 kB / 384.5 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006017/0.0258, allocations: 25.95 kB / 384.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.02733, allocations: 0.5704 MB / 385.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.02771, allocations: 208.1 kB / 385.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.512e-05/0.02778, allocations: 11.97 kB / 385.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.234e-05/0.02784, allocations: 12.5 kB / 385.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of SimCode: time 1.573e-06/0.02784, allocations: 0 / 385.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of Templates: time 0.007299/0.03514, allocations: 1.108 MB / 386.4 MB, free: 9.605 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.972167368978262]