Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001242/0.001243, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001396/0.001397, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2255/0.2255, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 74.7 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1078, allocations: 62.46 MB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.002822/0.1107, allocations: 1.653 MB / 483.1 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.1122, allocations: 1.202 MB / 484.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.6e-05/0.1123, allocations: 0 / 484.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.1125, allocations: 27.84 kB / 484.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.1127, allocations: 87.56 kB / 484.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003722/0.1131, allocations: 179.2 kB / 484.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.1132, allocations: 71.77 kB / 484.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.1134, allocations: 19.98 kB / 484.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.015e-05/0.1134, allocations: 35.84 kB / 484.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.1136, allocations: 39.83 kB / 484.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.1136, allocations: 4 kB / 484.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.1137, allocations: 107.9 kB / 484.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.989e-05/0.1138, allocations: 19.92 kB / 484.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.633e-05/0.1139, allocations: 27.8 kB / 484.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.1141, allocations: 147.7 kB / 485.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1141, allocations: 0 / 485.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1141, allocations: 0 / 485.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.1141, allocations: 0 / 485.1 MB, free: 0.9102 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004501/0.1146, allocations: 419 kB / 485.5 MB, free: 464 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.1146, allocations: 8.031 kB / 485.5 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.1147, allocations: 16.84 kB / 485.5 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.1149, allocations: 184.3 kB / 485.7 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.1149, allocations: 4.375 kB / 485.7 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.1149, allocations: 384 / 485.7 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.1151, allocations: 79.52 kB / 485.8 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1151, allocations: 3.984 kB / 485.8 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.1151, allocations: 0 / 485.8 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.1151, allocations: 4 kB / 485.8 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.1153, allocations: 47.88 kB / 485.8 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/0.1157, allocations: 308.7 kB / 486.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.1158, allocations: 46.55 kB / 486.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.926e-05/0.1159, allocations: 28.94 kB / 486.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.1159, allocations: 7.938 kB / 486.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.116, allocations: 38.5 kB / 486.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 2.424e-06/0.116, allocations: 0 / 486.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007122/0.1167, allocations: 241 kB / 486.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.1167, allocations: 77.11 kB / 486.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.1169, allocations: 152.1 kB / 486.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1169, allocations: 25.7 kB / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.964e-05/0.117, allocations: 100 kB / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.117, allocations: 27.7 kB / 486.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.117, allocations: 21.72 kB / 486.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.183e-05/0.1171, allocations: 322.8 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.1173, allocations: 39.97 kB / 487.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.1174, allocations: 49.69 kB / 487.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.1176, allocations: 88.78 kB / 487.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1176, allocations: 8.031 kB / 487.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002636/0.1179, allocations: 117.5 kB / 487.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1179, allocations: 8 kB / 487.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1179, allocations: 3.984 kB / 487.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1179, allocations: 0 / 487.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.1181, allocations: 19.98 kB / 487.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1181, allocations: 0 / 487.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.109e-05/0.1181, allocations: 15.92 kB / 487.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.1182, allocations: 4 kB / 487.5 MB, free: 14.2 MB / 366.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 (7): * Single equations (assignments): 7 * 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.734e-05/0.1182, allocations: 117.8 kB / 487.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.1183, allocations: 7.906 kB / 487.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003366/0.1186, allocations: 142.2 kB / 487.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1186, allocations: 8 kB / 487.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1186, allocations: 0 / 487.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1187, allocations: 7.922 kB / 487.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005083/0.1192, allocations: 402.5 kB / 488.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1192, allocations: 3.938 kB / 488.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.304e-05/0.1193, allocations: 19.98 kB / 488.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.1193, allocations: 4 kB / 488.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.1193, allocations: 3.938 kB / 488.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1193, allocations: 480 / 488.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1193, allocations: 0 / 488.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.1196, allocations: 227.3 kB / 488.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.442e-05/0.1197, allocations: 93 kB / 488.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.1197, allocations: 7.938 kB / 488.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.275e-05/0.1198, allocations: 11.98 kB / 488.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.1198, allocations: 0 / 488.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.1198, allocations: 4 kB / 488.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.021e-05/0.1199, allocations: 121.7 kB / 488.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1199, allocations: 3.938 kB / 488.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.1202, allocations: 43.98 kB / 488.7 MB, free: 12.89 MB / 366.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 (7): * Single equations (assignments): 7 * 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.0009869/0.1212, allocations: 485.2 kB / 489.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002894/0.1215, allocations: 91.92 kB / 489.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1215, allocations: 0 / 489.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.1216, allocations: 47.91 kB / 489.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.122, allocations: 15.98 kB / 489.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/0.1224, allocations: 221.7 kB / 489.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.1227, allocations: 0.7041 MB / 490.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.26e-05/0.1228, allocations: 28.92 kB / 490.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.494e-05/0.1228, allocations: 19.44 kB / 490.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1228, allocations: 0 / 490.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of Templates: time 0.004407/0.1272, allocations: 1.927 MB / 492.3 MB, free: 9.477 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches