Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001549/0.001549, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002147/0.002147, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 246.9 MB, free: 10.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2088/0.2088, allocations: 46.11 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 78.95 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1133, allocations: 62.45 MB / 479.9 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003258/0.1166, allocations: 1.704 MB / 481.6 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009834/0.1176, allocations: 0.5534 MB / 482.2 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.097e-05/0.1177, allocations: 0 / 482.2 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005578/0.1182, allocations: 447.2 kB / 482.6 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004863/0.1188, allocations: 275.4 kB / 482.9 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.1192, allocations: 119.4 kB / 483 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002814/0.1195, allocations: 171.6 kB / 483.2 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.1196, allocations: 15.98 kB / 483.2 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.1198, allocations: 107.7 kB / 483.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.1201, allocations: 207.5 kB / 483.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.1201, allocations: 8 kB / 483.5 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.1203, allocations: 27.98 kB / 483.5 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.1204, allocations: 79.7 kB / 483.6 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.1205, allocations: 103 kB / 483.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002826/0.1208, allocations: 187.8 kB / 483.9 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1208, allocations: 3.938 kB / 483.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1208, allocations: 0 / 483.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.1208, allocations: 0 / 483.9 MB, free: 1.734 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.000827/0.1217, allocations: 0.6416 MB / 484.6 MB, free: 1.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.1217, allocations: 16.88 kB / 484.6 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.565e-05/0.1218, allocations: 40.47 kB / 484.6 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.1221, allocations: 296.1 kB / 484.9 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.1221, allocations: 4.375 kB / 484.9 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.1221, allocations: 4.375 kB / 484.9 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.1223, allocations: 57.8 kB / 485 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1223, allocations: 0 / 485 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.1223, allocations: 0 / 485 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1223, allocations: 0 / 485 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.1224, allocations: 35.91 kB / 485 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/0.1229, allocations: 380.7 kB / 485.4 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.1231, allocations: 42.56 kB / 485.4 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.864e-05/0.1232, allocations: 20.88 kB / 485.4 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.1232, allocations: 8.062 kB / 485.4 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.1232, allocations: 34.56 kB / 485.5 MB, free: 8 kB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.1232, allocations: 0 / 485.5 MB, free: 8 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006721/0.1239, allocations: 227.9 kB / 485.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.124, allocations: 51.41 kB / 485.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008101/0.1248, allocations: 0.8653 MB / 486.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.1248, allocations: 29.7 kB / 486.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.125, allocations: 228 kB / 486.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.125, allocations: 11.81 kB / 486.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.1251, allocations: 17.72 kB / 486.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1252, allocations: 362.7 kB / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.559e-05/0.1253, allocations: 19.98 kB / 487.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-05/0.1253, allocations: 27.98 kB / 487.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.1255, allocations: 48.83 kB / 487.3 MB, free: 14.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1255, allocations: 4 kB / 487.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002105/0.1257, allocations: 113 kB / 487.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1257, allocations: 4 kB / 487.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1258, allocations: 4 kB / 487.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.1258, allocations: 3.938 kB / 487.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.657e-05/0.1258, allocations: 11.98 kB / 487.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1259, allocations: 4 kB / 487.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.803e-05/0.1259, allocations: 11.88 kB / 487.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.1259, allocations: 0 / 487.5 MB, free: 13.92 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 (5): * Single equations (assignments): 5 * 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.0001955/0.1261, allocations: 217.8 kB / 487.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-05/0.1262, allocations: 35.53 kB / 487.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002828/0.1265, allocations: 141 kB / 487.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.1265, allocations: 4 kB / 487.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1265, allocations: 0 / 487.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1265, allocations: 3.938 kB / 487.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005278/0.127, allocations: 454.4 kB / 488.3 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1271, allocations: 0 / 488.3 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.113e-05/0.1271, allocations: 20.23 kB / 488.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1271, allocations: 288 / 488.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1272, allocations: 7.938 kB / 488.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1272, allocations: 4 kB / 488.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1272, allocations: 0 / 488.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.1274, allocations: 211 kB / 488.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.359e-05/0.1275, allocations: 112.5 kB / 488.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.1275, allocations: 7.938 kB / 488.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-05/0.1276, allocations: 4 kB / 488.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.1277, allocations: 7.984 kB / 488.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.1277, allocations: 0 / 488.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005857/0.1283, allocations: 0.655 MB / 489.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1283, allocations: 0 / 489.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.1285, allocations: 23.98 kB / 489.4 MB, free: 11.93 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 (5): * Single equations (assignments): 5 * 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.0008772/0.1294, allocations: 397.7 kB / 489.8 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.1296, allocations: 55.95 kB / 489.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1296, allocations: 0 / 489.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.692e-05/0.1297, allocations: 23.98 kB / 489.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.1301, allocations: 26.3 kB / 489.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.1313, allocations: 0.8962 MB / 490.8 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.1317, allocations: 0.8223 MB / 491.6 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.1317, allocations: 23.36 kB / 491.6 MB, free: 9.766 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1317, allocations: 0 / 491.6 MB, free: 9.766 MB / 366.1 MB Notification: Performance of Templates: time 0.006931/0.1387, allocations: 3.708 MB / 495.3 MB, free: 6.047 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches