Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001071/0.001071, allocations: 117 kB / 18.41 MB, free: 4.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001061/0.001061, allocations: 200.5 kB / 19.36 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1929/0.1929, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 71.89 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1108, allocations: 62.45 MB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.00281/0.1137, allocations: 1.666 MB / 483.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000925/0.1146, allocations: 0.5766 MB / 483.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.822e-05/0.1147, allocations: 0 / 483.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002524/0.115, allocations: 59.73 kB / 483.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002748/0.1153, allocations: 95.59 kB / 483.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003826/0.1156, allocations: 175.1 kB / 484 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.1158, allocations: 91.75 kB / 484.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1159, allocations: 16.22 kB / 484.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.309e-05/0.116, allocations: 39.84 kB / 484.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.393e-05/0.1161, allocations: 43.83 kB / 484.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.1161, allocations: 4 kB / 484.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.426e-05/0.1162, allocations: 51.98 kB / 484.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.992e-05/0.1163, allocations: 23.92 kB / 484.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.128e-05/0.1163, allocations: 31.73 kB / 484.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.1165, allocations: 119.6 kB / 484.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1165, allocations: 0 / 484.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1165, allocations: 0 / 484.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.1165, allocations: 0 / 484.4 MB, free: 1.535 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.0004545/0.117, allocations: 419 kB / 484.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.117, allocations: 8.031 kB / 484.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.1171, allocations: 8.844 kB / 484.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.1172, allocations: 200 kB / 485.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.1173, allocations: 384 / 485.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.1173, allocations: 12.3 kB / 485.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.1174, allocations: 69.8 kB / 485.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1175, allocations: 0 / 485.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1175, allocations: 0 / 485.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-06/0.1175, allocations: 4 kB / 485.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.1176, allocations: 51.95 kB / 485.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.118, allocations: 320.6 kB / 485.5 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.1183, allocations: 58.55 kB / 485.6 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.539e-05/0.1183, allocations: 32.97 kB / 485.6 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.1184, allocations: 4 kB / 485.6 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.1184, allocations: 34.59 kB / 485.6 MB, free: 180 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1184, allocations: 0 / 485.6 MB, free: 180 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001325/0.1197, allocations: 420.8 kB / 486.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.1198, allocations: 55.34 kB / 486.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.1199, allocations: 181.3 kB / 486.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.12, allocations: 25.7 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/0.12, allocations: 104 kB / 486.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.1201, allocations: 35.45 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.955e-05/0.1201, allocations: 29.7 kB / 486.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.535e-05/0.1202, allocations: 326.8 kB / 486.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.1204, allocations: 47.97 kB / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.1205, allocations: 60 kB / 486.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.1207, allocations: 128.7 kB / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1207, allocations: 0 / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002956/0.121, allocations: 169.5 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1211, allocations: 4 kB / 487.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.1211, allocations: 0 / 487.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1211, allocations: 4 kB / 487.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1212, allocations: 31.91 kB / 487.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1212, allocations: 0 / 487.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.447e-05/0.1213, allocations: 4.562 kB / 487.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.1213, allocations: 8 kB / 487.2 MB, free: 14.52 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 (11): * Single equations (assignments): 11 * 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 9.337e-05/0.1214, allocations: 133.8 kB / 487.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.1214, allocations: 11.81 kB / 487.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003818/0.1218, allocations: 202.2 kB / 487.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1218, allocations: 3.938 kB / 487.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1219, allocations: 4 kB / 487.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1219, allocations: 0 / 487.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006456/0.1225, allocations: 500 kB / 488.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.1225, allocations: 4 kB / 488.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.78e-05/0.1226, allocations: 31.91 kB / 488.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1226, allocations: 4.062 kB / 488.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.1227, allocations: 8 kB / 488.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1227, allocations: 0 / 488.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1227, allocations: 0 / 488.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.123, allocations: 280.9 kB / 488.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/0.1231, allocations: 85.02 kB / 488.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.1231, allocations: 0 / 488.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.487e-05/0.1232, allocations: 15.98 kB / 488.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.1233, allocations: 11.92 kB / 488.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.1233, allocations: 4 kB / 488.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.778e-05/0.1234, allocations: 139.1 kB / 488.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1234, allocations: 0 / 488.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.1237, allocations: 31.98 kB / 488.7 MB, free: 12.96 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00105/0.1247, allocations: 444.7 kB / 489.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003179/0.1251, allocations: 139.8 kB / 489.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1251, allocations: 0 / 489.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.1252, allocations: 67.89 kB / 489.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.1256, allocations: 26.17 kB / 489.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005599/0.1261, allocations: 312.2 kB / 489.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.1264, allocations: 0.7119 MB / 490.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.96e-05/0.1265, allocations: 28.53 kB / 490.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.144e-05/0.1265, allocations: 23.42 kB / 490.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1265, allocations: 0 / 490.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of Templates: time 0.004178/0.1307, allocations: 1.624 MB / 492 MB, free: 9.711 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches