Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,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.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001263/0.001262, allocations: 109.5 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.001302/0.001302, 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.35/1.35, allocations: 227.4 MB / 246.9 MB, free: 8.945 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2165/0.2165, allocations: 46.11 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 77.16 kB / 417.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1158, allocations: 62.44 MB / 479.9 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003324/0.1191, allocations: 1.712 MB / 481.6 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.121, allocations: 1.187 MB / 482.8 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.152e-05/0.1211, allocations: 0 / 482.8 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002273/0.1214, allocations: 23.92 kB / 482.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.1217, allocations: 67.75 kB / 482.9 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.1222, allocations: 159.6 kB / 483.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.1224, allocations: 79.7 kB / 483.2 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1225, allocations: 15.98 kB / 483.2 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.511e-05/0.1225, allocations: 31.8 kB / 483.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.1227, allocations: 39.83 kB / 483.2 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.1227, allocations: 4 kB / 483.2 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.123, allocations: 95.94 kB / 483.3 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.169e-05/0.123, allocations: 23.86 kB / 483.4 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/0.1231, allocations: 27.8 kB / 483.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.1233, allocations: 103.9 kB / 483.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1233, allocations: 0 / 483.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1233, allocations: 0 / 483.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.1233, allocations: 0 / 483.5 MB, free: 2.098 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.0005172/0.1238, allocations: 419.4 kB / 483.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.1239, allocations: 8.875 kB / 483.9 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/0.1239, allocations: 12.84 kB / 483.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.1241, allocations: 192.3 kB / 484.1 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.1242, allocations: 384 / 484.1 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.1242, allocations: 384 / 484.1 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.1244, allocations: 87.44 kB / 484.2 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1244, allocations: 0 / 484.2 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1244, allocations: 4 kB / 484.2 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1244, allocations: 0 / 484.2 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.1246, allocations: 43.95 kB / 484.2 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/0.1251, allocations: 308.7 kB / 484.5 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.1252, allocations: 50.48 kB / 484.6 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.272e-05/0.1253, allocations: 32.94 kB / 484.6 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.1253, allocations: 0 / 484.6 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.1253, allocations: 30.56 kB / 484.7 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1254, allocations: 0 / 484.7 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008623/0.1262, allocations: 237.1 kB / 484.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.1263, allocations: 81.11 kB / 485 MB, free: 440 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.1264, allocations: 147.8 kB / 485.1 MB, free: 284 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.1265, allocations: 25.7 kB / 485.1 MB, free: 252 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/0.1265, allocations: 100 kB / 485.2 MB, free: 148 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.1266, allocations: 23.66 kB / 485.3 MB, free: 124 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.1266, allocations: 21.7 kB / 485.3 MB, free: 96 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1267, allocations: 322.8 kB / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.1269, allocations: 39.95 kB / 485.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.127, allocations: 57.69 kB / 485.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.1273, allocations: 88.83 kB / 485.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1273, allocations: 0 / 485.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002995/0.1276, allocations: 121.5 kB / 485.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1276, allocations: 15.88 kB / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.1276, allocations: 0 / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1276, allocations: 0 / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.1277, allocations: 23.97 kB / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1278, allocations: 4 kB / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.502e-05/0.1278, allocations: 11.88 kB / 486 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1279, allocations: 4 kB / 486 MB, free: 15.39 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 9.998e-05/0.128, allocations: 121.8 kB / 486.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.128, allocations: 11.91 kB / 486.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003544/0.1284, allocations: 138.6 kB / 486.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.1284, allocations: 0 / 486.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1284, allocations: 0 / 486.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.1284, allocations: 3.938 kB / 486.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000565/0.129, allocations: 414.5 kB / 486.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.129, allocations: 0 / 486.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.114e-05/0.1291, allocations: 27.97 kB / 486.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1291, allocations: 0 / 486.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1291, allocations: 3.938 kB / 486.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1291, allocations: 4 kB / 486.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1291, allocations: 0 / 486.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.1295, allocations: 227.3 kB / 486.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/0.1295, allocations: 85.02 kB / 487 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.1296, allocations: 7.938 kB / 487 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.1297, allocations: 11.98 kB / 487 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.1297, allocations: 7.984 kB / 487 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.1297, allocations: 0 / 487 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.417e-05/0.1298, allocations: 117.8 kB / 487.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1298, allocations: 0 / 487.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003078/0.1302, allocations: 36 kB / 487.1 MB, free: 14.1 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.001117/0.1313, allocations: 0.4904 MB / 487.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003077/0.1316, allocations: 95.84 kB / 487.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1316, allocations: 0 / 487.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.1318, allocations: 48.11 kB / 487.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.1321, allocations: 15.98 kB / 487.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005347/0.1327, allocations: 265.2 kB / 488.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.133, allocations: 0.6984 MB / 488.8 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.855e-05/0.133, allocations: 31.36 kB / 488.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1331, allocations: 0 / 488.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of Templates: time 0.004391/0.1375, allocations: 2.149 MB / 490.9 MB, free: 10.41 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches