Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.0009551/0.0009551, allocations: 75.77 kB / 21.18 MB, free: 3.383 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.001044/0.001044, allocations: 165 kB / 24.56 MB, free: 8 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 0.9636/0.9636, allocations: 177.1 MB / 205 MB, free: 5.613 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.2521/0.2521, allocations: 32.81 MB / 294.3 MB, free: 1.266 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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.073e-06/2.073e-06, allocations: 0 / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.199e-05/3.406e-05, allocations: 9.203 kB / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002432/0.002466, allocations: 1.719 MB / 377.8 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000797/0.003263, allocations: 0.5686 MB / 378.3 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.959e-05/0.003323, allocations: 3.938 kB / 378.3 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006372/0.00396, allocations: 459.1 kB / 378.8 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005021/0.004462, allocations: 295.1 kB / 379.1 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.004904, allocations: 179.5 kB / 379.2 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.005162, allocations: 183.6 kB / 379.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.005278, allocations: 12.23 kB / 379.4 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.005431, allocations: 127.8 kB / 379.6 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/0.005716, allocations: 243.5 kB / 379.8 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.005739, allocations: 4 kB / 379.8 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.005853, allocations: 51.92 kB / 379.9 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.005963, allocations: 87.69 kB / 379.9 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.29e-05/0.006016, allocations: 35.75 kB / 380 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.00632, allocations: 219 kB / 380.2 MB, free: 488 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.006323, allocations: 0 / 380.2 MB, free: 488 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.006324, allocations: 4 kB / 380.2 MB, free: 484 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.006331, allocations: 0 / 380.2 MB, free: 484 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007115/0.007042, allocations: 0.7009 MB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.007079, allocations: 8.031 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.116e-05/0.00714, allocations: 52.66 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.007328, allocations: 244.9 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.007338, allocations: 4.312 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.00736, allocations: 8.375 kB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.007495, allocations: 66.88 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.007505, allocations: 192 / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.007518, allocations: 4.125 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.007526, allocations: 4 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.389e-05/0.00756, allocations: 11.98 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004075/0.007968, allocations: 439.6 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.519e-05/0.008043, allocations: 54.97 kB / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.603e-05/0.008069, allocations: 11.69 kB / 381.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.008087, allocations: 0 / 381.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.008108, allocations: 37.47 kB / 381.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.00811, allocations: 96 / 381.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006443/0.008754, allocations: 260.5 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.008797, allocations: 55.41 kB / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004133/0.00921, allocations: 0.6277 MB / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.009225, allocations: 29.7 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.009375, allocations: 286.8 kB / 383.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.009407, allocations: 27.75 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.00945, allocations: 31.36 kB / 383.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.009617, allocations: 0.5508 MB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.642e-05/0.009643, allocations: 7.984 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.06e-05/0.009664, allocations: 12 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.579e-05/0.00972, allocations: 39.67 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.009721, allocations: 0 / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001243/0.009845, allocations: 113.5 kB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.009859, allocations: 4 kB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.009864, allocations: 4 kB / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.009878, allocations: 0 / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.297e-05/0.009961, allocations: 16 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.009966, allocations: 4 kB / 383.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.567e-05/0.009992, allocations: 3.984 kB / 383.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.01, allocations: 4 kB / 383.9 MB, free: 12.57 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.773e-05/0.01008, allocations: 160.5 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-05/0.01011, allocations: 51.61 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.0103, allocations: 125.5 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.0103, allocations: 0 / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.01031, allocations: 0 / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.01031, allocations: 0 / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004423/0.01075, allocations: 0.5086 MB / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.01075, allocations: 0 / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.634e-05/0.0108, allocations: 15.98 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.01081, allocations: 4 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.01081, allocations: 4 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.01082, allocations: 0 / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.01082, allocations: 11.91 kB / 384.8 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.01098, allocations: 263.3 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.01101, allocations: 35.72 kB / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.01102, allocations: 0 / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.328e-05/0.01107, allocations: 11.98 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.01111, allocations: 3.938 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.01111, allocations: 7.984 kB / 385.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002736/0.01139, allocations: 422.8 kB / 385.5 MB, free: 10.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01139, allocations: 0 / 385.5 MB, free: 10.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001816/0.01157, allocations: 31.98 kB / 385.5 MB, free: 10.85 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.0009394/0.01251, allocations: 442.2 kB / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001194/0.01263, allocations: 43.66 kB / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.01263, allocations: 0 / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.139e-05/0.01266, allocations: 31.61 kB / 386 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.01291, allocations: 29.95 kB / 386 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006626/0.01357, allocations: 0.6093 MB / 386.7 MB, free: 9.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.841e-05/0.01365, allocations: 123.2 kB / 386.8 MB, free: 9.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.933e-05/0.0137, allocations: 21.02 kB / 386.8 MB, free: 9.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.01373, allocations: 24.44 kB / 386.8 MB, free: 9.637 MB / 362.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01373, allocations: 0 / 386.8 MB, free: 9.637 MB / 362.7 MB Notification: Performance of Templates: time 0.004144/0.01788, allocations: 1.755 MB / 388.6 MB, free: 7.895 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.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: 2.9916189247742295]