Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 101.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 242.5 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1997/0.1997, allocations: 44.18 MB / 336.8 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 63.89 kB / 408.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09311/0.09449, allocations: 60.84 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003079/0.09761, allocations: 1.681 MB / 470.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007292/0.09836, allocations: 427.2 kB / 471.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.584e-05/0.09843, allocations: 0 / 471.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005004/0.09894, allocations: 447.2 kB / 471.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003037/0.09928, allocations: 251.5 kB / 472 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.09963, allocations: 114.2 kB / 472.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.09985, allocations: 159.6 kB / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.09997, allocations: 23.97 kB / 472.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.1001, allocations: 103.7 kB / 472.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.1003, allocations: 207.6 kB / 472.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.1004, allocations: 0 / 472.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.1005, allocations: 51.97 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.1006, allocations: 79.69 kB / 472.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.778e-05/0.1007, allocations: 103 kB / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.1009, allocations: 191.8 kB / 473 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.101, allocations: 0 / 473 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.101, allocations: 3.938 kB / 473 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.101, allocations: 0 / 473 MB, free: 11 MB / 350.1 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.0007587/0.1017, allocations: 0.6378 MB / 473.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1018, allocations: 12.03 kB / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.292e-05/0.1019, allocations: 44.38 kB / 473.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.1021, allocations: 296.1 kB / 474 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.1022, allocations: 8.375 kB / 474 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.1022, allocations: 384 / 474 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.1024, allocations: 65.73 kB / 474 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1024, allocations: 0 / 474 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1024, allocations: 0 / 474 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1024, allocations: 4 kB / 474 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.1025, allocations: 31.98 kB / 474.1 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.103, allocations: 392.6 kB / 474.5 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.1031, allocations: 42.56 kB / 474.5 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.664e-05/0.1032, allocations: 24.94 kB / 474.5 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.1032, allocations: 4 kB / 474.5 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.1032, allocations: 30.56 kB / 474.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1032, allocations: 0 / 474.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009793/0.1042, allocations: 303.9 kB / 474.9 MB, free: 8.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.1043, allocations: 59.34 kB / 474.9 MB, free: 8.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008087/0.1051, allocations: 0.8535 MB / 475.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.1051, allocations: 25.7 kB / 475.8 MB, free: 7.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.1053, allocations: 220.1 kB / 476 MB, free: 7.777 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.127e-05/0.1054, allocations: 31.55 kB / 476 MB, free: 7.746 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/0.1054, allocations: 17.72 kB / 476.1 MB, free: 7.723 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1056, allocations: 366.8 kB / 476.4 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.926e-05/0.1057, allocations: 23.98 kB / 476.4 MB, free: 7.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.932e-05/0.1057, allocations: 31.92 kB / 476.5 MB, free: 7.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.1059, allocations: 60.83 kB / 476.5 MB, free: 7.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1059, allocations: 0 / 476.5 MB, free: 7.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002359/0.1062, allocations: 137.5 kB / 476.7 MB, free: 7.098 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1062, allocations: 4 kB / 476.7 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1062, allocations: 0 / 476.7 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1062, allocations: 11.94 kB / 476.7 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.748e-05/0.1063, allocations: 15.98 kB / 476.7 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.1063, allocations: 3.938 kB / 476.7 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.52e-05/0.1064, allocations: 4 kB / 476.7 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1064, allocations: 4 kB / 476.7 MB, free: 7.055 MB / 350.1 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 0.0001851/0.1066, allocations: 214.3 kB / 476.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.442e-05/0.1067, allocations: 39.52 kB / 476.9 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000313/0.107, allocations: 169.6 kB / 477.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.107, allocations: 0 / 477.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.107, allocations: 3.938 kB / 477.1 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.107, allocations: 0 / 477.1 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006124/0.1076, allocations: 0.4993 MB / 477.6 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1076, allocations: 3.938 kB / 477.6 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.757e-05/0.1077, allocations: 19.98 kB / 477.6 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1077, allocations: 0 / 477.6 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1077, allocations: 0 / 477.6 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1077, allocations: 0 / 477.6 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.1078, allocations: 8 kB / 477.6 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.108, allocations: 239.8 kB / 477.9 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-05/0.1081, allocations: 112.6 kB / 478 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.1082, allocations: 4 kB / 478 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.643e-05/0.1082, allocations: 7.984 kB / 478 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.1083, allocations: 4 kB / 478 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.1083, allocations: 0 / 478 MB, free: 5.629 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006052/0.1089, allocations: 0.6511 MB / 478.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1089, allocations: 0 / 478.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.1092, allocations: 32 kB / 478.7 MB, free: 4.949 MB / 350.1 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.001127/0.1103, allocations: 459.2 kB / 479.1 MB, free: 4.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.1106, allocations: 75.89 kB / 479.2 MB, free: 4.605 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1106, allocations: 0 / 479.2 MB, free: 4.605 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.921e-05/0.1107, allocations: 35.92 kB / 479.2 MB, free: 4.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.1111, allocations: 29.89 kB / 479.3 MB, free: 4.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.1122, allocations: 0.9247 MB / 480.2 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.1126, allocations: 0.8185 MB / 481 MB, free: 2.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.1126, allocations: 19.38 kB / 481 MB, free: 2.711 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1127, allocations: 0 / 481 MB, free: 2.711 MB / 350.1 MB Notification: Performance of Templates: time 0.006552/0.1192, allocations: 3.894 MB / 484.9 MB, free: 14.82 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches