Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.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.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001105/0.001105, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00183/0.00183, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.564/1.564, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2149/0.2149, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002623/0.0002622, allocations: 8 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1164, allocations: 63.56 MB / 483.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002237/0.1187, allocations: 1.31 MB / 484.4 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.1199, allocations: 0.5107 MB / 484.9 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.613e-05/0.1201, allocations: 3.938 kB / 484.9 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.1204, allocations: 27.91 kB / 484.9 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000298/0.1207, allocations: 63.77 kB / 485 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.121, allocations: 83.08 kB / 485.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.1212, allocations: 59.84 kB / 485.1 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.1214, allocations: 15.98 kB / 485.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.368e-05/0.1214, allocations: 27.86 kB / 485.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.087e-05/0.1215, allocations: 19.8 kB / 485.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.1215, allocations: 4 kB / 485.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.545e-05/0.1216, allocations: 24 kB / 485.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.547e-05/0.1217, allocations: 15.97 kB / 485.2 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.815e-05/0.1218, allocations: 53.39 kB / 485.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.1219, allocations: 79.78 kB / 485.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.122, allocations: 0 / 485.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.122, allocations: 0 / 485.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.122, allocations: 0 / 485.4 MB, free: 1.84 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005016/0.1225, allocations: 394.8 kB / 485.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.1225, allocations: 12.88 kB / 485.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/0.1226, allocations: 8.844 kB / 485.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.1228, allocations: 196.6 kB / 486 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-06/0.1228, allocations: 384 / 486 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/0.1229, allocations: 11.94 kB / 486 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.123, allocations: 49.67 kB / 486 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1231, allocations: 0 / 486 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.1231, allocations: 4 kB / 486 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1231, allocations: 0 / 486 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.1232, allocations: 23.98 kB / 486.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.1236, allocations: 276.8 kB / 486.3 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.1238, allocations: 50.56 kB / 486.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.384e-05/0.1239, allocations: 16.94 kB / 486.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.1239, allocations: 0 / 486.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.124, allocations: 34.56 kB / 486.4 MB, free: 0.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.124, allocations: 0 / 486.4 MB, free: 0.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005975/0.1246, allocations: 161.6 kB / 486.6 MB, free: 472 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.1246, allocations: 51.41 kB / 486.6 MB, free: 408 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.1248, allocations: 182.4 kB / 486.8 MB, free: 212 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.1248, allocations: 29.7 kB / 486.8 MB, free: 176 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.791e-05/0.1249, allocations: 100 kB / 486.9 MB, free: 72 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.1249, allocations: 19.72 kB / 487 MB, free: 52 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.125, allocations: 17.72 kB / 487 MB, free: 28 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1251, allocations: 318.8 kB / 487.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.83e-05/0.1252, allocations: 19.98 kB / 487.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.818e-05/0.1253, allocations: 31.92 kB / 487.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.1254, allocations: 53.02 kB / 487.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1255, allocations: 0 / 487.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002186/0.1257, allocations: 93.58 kB / 487.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1257, allocations: 4 kB / 487.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.1257, allocations: 3.984 kB / 487.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1257, allocations: 4 kB / 487.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.537e-05/0.1258, allocations: 15.98 kB / 487.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1258, allocations: 3.938 kB / 487.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.131e-05/0.1259, allocations: 11.94 kB / 487.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.1259, allocations: 3.938 kB / 487.5 MB, free: 15.46 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 9.202e-05/0.126, allocations: 129.8 kB / 487.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.126, allocations: 7.906 kB / 487.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.1263, allocations: 97.95 kB / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1263, allocations: 4 kB / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1263, allocations: 0 / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.1263, allocations: 3.938 kB / 487.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004396/0.1268, allocations: 358.5 kB / 488.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1268, allocations: 0 / 488.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.619e-05/0.1269, allocations: 19.98 kB / 488.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1269, allocations: 0 / 488.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.1269, allocations: 3.938 kB / 488.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1269, allocations: 0 / 488.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1269, allocations: 0 / 488.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.1272, allocations: 195.3 kB / 488.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.346e-05/0.1272, allocations: 89.02 kB / 488.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.1272, allocations: 4.188 kB / 488.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-05/0.1273, allocations: 15.98 kB / 488.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.1274, allocations: 0 / 488.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-06/0.1274, allocations: 4 kB / 488.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001096/0.1275, allocations: 132.5 kB / 488.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1275, allocations: 4 kB / 488.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.1278, allocations: 19.98 kB / 488.6 MB, free: 14.29 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.0008881/0.1287, allocations: 393 kB / 489 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.1289, allocations: 47.97 kB / 489 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1289, allocations: 4 kB / 489 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.957e-05/0.129, allocations: 31.92 kB / 489.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.1293, allocations: 15.98 kB / 489.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004403/0.1297, allocations: 221.4 kB / 489.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.13, allocations: 0.6965 MB / 490 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.395e-05/0.13, allocations: 15.84 kB / 490 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.14e-05/0.1301, allocations: 15.44 kB / 490 MB, free: 12.94 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1301, allocations: 4 kB / 490 MB, free: 12.94 MB / 366.1 MB Notification: Performance of Templates: time 0.003435/0.1335, allocations: 1.074 MB / 491.1 MB, free: 11.87 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches