Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.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.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001189/0.001188, allocations: 118.9 kB / 18.41 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001474/0.001474, allocations: 208.5 kB / 19.36 MB, free: 3.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2122/0.2122, allocations: 46.11 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 78.09 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1098, allocations: 62.44 MB / 481.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.002739/0.1125, allocations: 1.665 MB / 483.1 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008968/0.1134, allocations: 0.5493 MB / 483.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.537e-05/0.1135, allocations: 7.938 kB / 483.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004925/0.114, allocations: 451.1 kB / 484.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004007/0.1144, allocations: 299.2 kB / 484.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.1148, allocations: 123.7 kB / 484.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002653/0.1151, allocations: 171.7 kB / 484.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1152, allocations: 15.98 kB / 484.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.1153, allocations: 119.7 kB / 484.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.1156, allocations: 215.6 kB / 485 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.1157, allocations: 4 kB / 485.1 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.604e-05/0.1157, allocations: 35.98 kB / 485.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.1158, allocations: 83.69 kB / 485.2 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.021e-05/0.1159, allocations: 99 kB / 485.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.1162, allocations: 266.9 kB / 485.5 MB, free: 472 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1162, allocations: 0 / 485.5 MB, free: 472 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1162, allocations: 0 / 485.5 MB, free: 472 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1162, allocations: 0 / 485.5 MB, free: 472 kB / 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.0006826/0.1169, allocations: 0.6491 MB / 486.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.117, allocations: 8.031 kB / 486.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.844e-05/0.117, allocations: 44.38 kB / 486.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.1173, allocations: 296.1 kB / 486.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.1173, allocations: 4.375 kB / 486.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.1173, allocations: 4.359 kB / 486.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.1175, allocations: 65.73 kB / 486.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.1175, allocations: 0 / 486.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1175, allocations: 0 / 486.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1175, allocations: 4 kB / 486.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.1177, allocations: 35.97 kB / 486.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.1181, allocations: 388.7 kB / 487 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.1182, allocations: 46.48 kB / 487.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.632e-05/0.1183, allocations: 28.92 kB / 487.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.1184, allocations: 4 kB / 487.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.1184, allocations: 38.56 kB / 487.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1184, allocations: 3.938 kB / 487.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007503/0.1191, allocations: 295.8 kB / 487.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.1192, allocations: 51.41 kB / 487.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00077/0.12, allocations: 0.8613 MB / 488.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.12, allocations: 25.7 kB / 488.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.1201, allocations: 212.1 kB / 488.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.1202, allocations: 23.64 kB / 488.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.1202, allocations: 17.8 kB / 488.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1204, allocations: 374.7 kB / 489 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.924e-05/0.1205, allocations: 31.95 kB / 489 MB, free: 12.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.903e-05/0.1206, allocations: 35.97 kB / 489 MB, free: 12.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.1208, allocations: 72.75 kB / 489.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1208, allocations: 0 / 489.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000261/0.1211, allocations: 149.1 kB / 489.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1211, allocations: 4 kB / 489.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1211, allocations: 0 / 489.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1211, allocations: 7.938 kB / 489.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.1212, allocations: 19.97 kB / 489.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1212, allocations: 0 / 489.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.887e-05/0.1213, allocations: 15.94 kB / 489.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.1213, allocations: 3.984 kB / 489.3 MB, free: 12.45 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 0.000172/0.1215, allocations: 213.7 kB / 489.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.325e-05/0.1216, allocations: 43.44 kB / 489.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003304/0.1219, allocations: 169.7 kB / 489.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1219, allocations: 0 / 489.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.122, allocations: 4 kB / 489.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.122, allocations: 7.938 kB / 489.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006071/0.1226, allocations: 498.4 kB / 490.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1226, allocations: 0 / 490.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.462e-05/0.1227, allocations: 15.98 kB / 490.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1227, allocations: 4 kB / 490.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.1227, allocations: 3.938 kB / 490.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1227, allocations: 4 kB / 490.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1227, allocations: 0 / 490.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.123, allocations: 246.8 kB / 490.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.619e-05/0.1231, allocations: 108.6 kB / 490.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.1231, allocations: 7.938 kB / 490.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.597e-05/0.1232, allocations: 11.98 kB / 490.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.1233, allocations: 4 kB / 490.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.1233, allocations: 4 kB / 490.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005513/0.1238, allocations: 0.655 MB / 491.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1239, allocations: 0 / 491.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1241, allocations: 27.94 kB / 491.3 MB, free: 10.35 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.0008748/0.125, allocations: 405.2 kB / 491.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002588/0.1253, allocations: 83.88 kB / 491.8 MB, free: 10 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1253, allocations: 0 / 491.8 MB, free: 10 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.1254, allocations: 39.97 kB / 491.8 MB, free: 9.965 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.1258, allocations: 25.95 kB / 491.8 MB, free: 9.938 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.1268, allocations: 0.8071 MB / 492.6 MB, free: 9.105 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005215/0.1274, allocations: 0.826 MB / 493.5 MB, free: 8.254 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.573e-05/0.1274, allocations: 12.3 kB / 493.5 MB, free: 8.242 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.1275, allocations: 15.42 kB / 493.5 MB, free: 8.227 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1275, allocations: 0 / 493.5 MB, free: 8.227 MB / 366.1 MB Notification: Performance of Templates: time 0.004682/0.1322, allocations: 1.589 MB / 495.1 MB, free: 6.641 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches