Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2,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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0012/0.0012, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001412/0.001412, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.3 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.207/0.207, allocations: 46.11 MB / 344.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 75.84 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1091, allocations: 62.44 MB / 479.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003471/0.1126, allocations: 1.727 MB / 481.7 MB, free: 3.988 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.1138, allocations: 0.565 MB / 482.2 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.649e-05/0.1139, allocations: 0 / 482.2 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000552/0.1144, allocations: 447.2 kB / 482.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004519/0.1149, allocations: 283.4 kB / 482.9 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.1153, allocations: 123.6 kB / 483.1 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000238/0.1155, allocations: 159.7 kB / 483.2 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1157, allocations: 31.97 kB / 483.2 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.1158, allocations: 107.7 kB / 483.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.1161, allocations: 207.5 kB / 483.6 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.1161, allocations: 0 / 483.6 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.1162, allocations: 51.97 kB / 483.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.1164, allocations: 83.69 kB / 483.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.125e-05/0.1164, allocations: 103 kB / 483.8 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.1167, allocations: 203.7 kB / 484 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1167, allocations: 0 / 484 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1167, allocations: 0 / 484 MB, free: 1.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.1167, allocations: 0 / 484 MB, free: 1.656 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.0007915/0.1175, allocations: 0.6416 MB / 484.6 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1176, allocations: 12.03 kB / 484.6 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.391e-05/0.1177, allocations: 40.38 kB / 484.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.118, allocations: 296.2 kB / 485 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.118, allocations: 4.375 kB / 485 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.118, allocations: 8.375 kB / 485 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.1182, allocations: 65.73 kB / 485 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1182, allocations: 3.906 kB / 485.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.1182, allocations: 0 / 485.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1182, allocations: 0 / 485.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.1183, allocations: 27.97 kB / 485.1 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005018/0.1188, allocations: 408.5 kB / 485.5 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.119, allocations: 42.61 kB / 485.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.193e-05/0.119, allocations: 16.86 kB / 485.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.1191, allocations: 0 / 485.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.1191, allocations: 34.59 kB / 485.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 2.455e-06/0.1191, allocations: 4 kB / 485.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000977/0.1201, allocations: 308.2 kB / 485.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.1201, allocations: 63.28 kB / 485.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008349/0.121, allocations: 0.8614 MB / 486.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.121, allocations: 33.7 kB / 486.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.1212, allocations: 224 kB / 487 MB, free: 14.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.1212, allocations: 27.64 kB / 487.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/0.1213, allocations: 21.66 kB / 487.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1214, allocations: 366.8 kB / 487.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.34e-05/0.1215, allocations: 19.98 kB / 487.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.295e-05/0.1216, allocations: 23.98 kB / 487.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.1218, allocations: 73.05 kB / 487.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1218, allocations: 0 / 487.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002388/0.122, allocations: 137 kB / 487.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.122, allocations: 8 kB / 487.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1221, allocations: 0 / 487.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.1221, allocations: 0 / 487.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1222, allocations: 15.98 kB / 487.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1222, allocations: 7.938 kB / 487.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.125e-05/0.1223, allocations: 8 kB / 487.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.1223, allocations: 8 kB / 487.8 MB, free: 13.66 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 (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.0001732/0.1225, allocations: 213.8 kB / 488 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.006e-05/0.1225, allocations: 43.44 kB / 488 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003244/0.1229, allocations: 153.4 kB / 488.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.1229, allocations: 8 kB / 488.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1229, allocations: 3.938 kB / 488.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1229, allocations: 0 / 488.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006384/0.1236, allocations: 0.5031 MB / 488.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.1236, allocations: 3.938 kB / 488.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.176e-05/0.1236, allocations: 19.98 kB / 488.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1237, allocations: 4.031 kB / 488.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.1237, allocations: 0 / 488.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1237, allocations: 0 / 488.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1237, allocations: 4 kB / 488.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.124, allocations: 231.8 kB / 488.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-05/0.1241, allocations: 116.5 kB / 489 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.1241, allocations: 8 kB / 489 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.981e-05/0.1242, allocations: 4 kB / 489 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.1242, allocations: 7.984 kB / 489.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.1242, allocations: 0 / 489.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005927/0.1248, allocations: 0.6589 MB / 489.7 MB, free: 11.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.443e-06/0.1249, allocations: 0 / 489.7 MB, free: 11.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00029/0.1252, allocations: 31.94 kB / 489.7 MB, free: 11.55 MB / 366.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.001036/0.1262, allocations: 445.7 kB / 490.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000218/0.1264, allocations: 71.88 kB / 490.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.1264, allocations: 4 kB / 490.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.054e-05/0.1265, allocations: 39.92 kB / 490.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.127, allocations: 30.23 kB / 490.3 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.1282, allocations: 0.9286 MB / 491.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.1286, allocations: 0.8301 MB / 492.1 MB, free: 9.305 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.211e-05/0.1286, allocations: 15.44 kB / 492.1 MB, free: 9.289 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1286, allocations: 0 / 492.1 MB, free: 9.289 MB / 366.1 MB Notification: Performance of Templates: time 0.007103/0.1357, allocations: 3.951 MB / 496 MB, free: 5.332 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches