Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001454/0.001454, allocations: 193.3 kB / 18.91 MB, free: 4.477 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.329/1.329, allocations: 222.9 MB / 242.6 MB, free: 15.43 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.2239/0.2239, allocations: 44.18 MB / 336.9 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.001321, allocations: 68.83 kB / 408.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09913/0.1005, allocations: 60.83 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003028/0.1035, allocations: 1.634 MB / 471 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006798/0.1042, allocations: 399.3 kB / 471.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.732e-05/0.1043, allocations: 4 kB / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005005/0.1048, allocations: 443.2 kB / 471.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000341/0.1052, allocations: 251.5 kB / 472.1 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.1055, allocations: 111.5 kB / 472.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.1058, allocations: 151.8 kB / 472.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.771e-05/0.1059, allocations: 11.98 kB / 472.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.106, allocations: 107.7 kB / 472.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.1062, allocations: 219.6 kB / 472.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.1062, allocations: 0 / 472.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.203e-05/0.1063, allocations: 27.98 kB / 472.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.75e-05/0.1064, allocations: 79.64 kB / 472.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.031e-05/0.1065, allocations: 103 kB / 472.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.1067, allocations: 179.8 kB / 473.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1067, allocations: 0 / 473.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1067, allocations: 0 / 473.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1068, allocations: 0 / 473.1 MB, free: 11.04 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006308/0.1074, allocations: 0.6144 MB / 473.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.1074, allocations: 16.03 kB / 473.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.1075, allocations: 40.38 kB / 473.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.1078, allocations: 284.3 kB / 474 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-06/0.1078, allocations: 384 / 474 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.1078, allocations: 8.375 kB / 474 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.1079, allocations: 49.75 kB / 474.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.1079, allocations: 0 / 474.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.1079, allocations: 0 / 474.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.108, allocations: 4 kB / 474.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.532e-05/0.108, allocations: 23.98 kB / 474.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004031/0.1084, allocations: 376.7 kB / 474.5 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.073e-05/0.1085, allocations: 30.52 kB / 474.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.487e-05/0.1086, allocations: 16.91 kB / 474.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.1086, allocations: 7.984 kB / 474.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.1087, allocations: 34.56 kB / 474.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1087, allocations: 0 / 474.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002481/0.1089, allocations: 93.2 kB / 474.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.109, allocations: 55.34 kB / 474.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007636/0.1097, allocations: 0.8574 MB / 475.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.1097, allocations: 25.7 kB / 475.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.1099, allocations: 224.1 kB / 475.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.1099, allocations: 7.984 kB / 475.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.11, allocations: 13.72 kB / 475.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1101, allocations: 358.7 kB / 476.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.234e-05/0.1102, allocations: 11.98 kB / 476.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.629e-05/0.1102, allocations: 8 kB / 476.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.429e-05/0.1103, allocations: 20.84 kB / 476.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1103, allocations: 4.062 kB / 476.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001355/0.1104, allocations: 93.06 kB / 476.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1104, allocations: 8 kB / 476.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1105, allocations: 0 / 476.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1105, allocations: 0 / 476.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.063e-05/0.1105, allocations: 11.92 kB / 476.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1106, allocations: 0 / 476.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.304e-05/0.1106, allocations: 4 kB / 476.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.1106, allocations: 0 / 476.3 MB, free: 7.543 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 (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.000166/0.1108, allocations: 217.7 kB / 476.5 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.126e-05/0.1108, allocations: 39.44 kB / 476.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.111, allocations: 104.6 kB / 476.7 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1111, allocations: 7.984 kB / 476.7 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1111, allocations: 4 kB / 476.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1111, allocations: 0 / 476.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.1113, allocations: 281.5 kB / 477 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.1113, allocations: 4.031 kB / 477 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.265e-05/0.1114, allocations: 7.938 kB / 477 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1114, allocations: 0 / 477 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.1114, allocations: 0 / 477 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1114, allocations: 0 / 477 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1114, allocations: 4 kB / 477 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.1116, allocations: 187 kB / 477.2 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.019e-05/0.1117, allocations: 112.6 kB / 477.3 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.1117, allocations: 0 / 477.3 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.785e-05/0.1118, allocations: 0 / 477.3 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.1118, allocations: 4 kB / 477.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.1118, allocations: 3.938 kB / 477.3 MB, free: 6.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000549/0.1124, allocations: 0.6511 MB / 477.9 MB, free: 5.832 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1124, allocations: 0 / 477.9 MB, free: 5.832 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002501/0.1126, allocations: 15.94 kB / 477.9 MB, free: 5.816 MB / 350.1 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.0007672/0.1134, allocations: 358.1 kB / 478.3 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001312/0.1135, allocations: 23.97 kB / 478.3 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1136, allocations: 0 / 478.3 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.232e-05/0.1136, allocations: 16.06 kB / 478.3 MB, free: 5.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.114, allocations: 21.95 kB / 478.3 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.1151, allocations: 0.8626 MB / 479.2 MB, free: 4.645 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.1154, allocations: 0.8143 MB / 480 MB, free: 3.801 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.1155, allocations: 11.44 kB / 480 MB, free: 3.789 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1155, allocations: 0 / 480 MB, free: 3.789 MB / 350.1 MB Notification: Performance of Templates: time 0.006524/0.122, allocations: 3.425 MB / 483.5 MB, free: 372 kB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches