Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001075/0.001075, allocations: 97.52 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001535/0.001536, allocations: 205.7 kB / 18.28 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.393/1.393, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2374/0.2374, allocations: 46.19 MB / 345.2 MB, free: 11.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002791/0.0002791, allocations: 8 kB / 419.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1084, allocations: 63.57 MB / 483.1 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002071/0.1106, allocations: 1.326 MB / 484.4 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.1116, allocations: 0.534 MB / 485 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.076e-05/0.1117, allocations: 0 / 485 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.112, allocations: 71.84 kB / 485 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.1123, allocations: 83.78 kB / 485.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.1127, allocations: 103.8 kB / 485.2 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.1129, allocations: 67.88 kB / 485.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.113, allocations: 19.98 kB / 485.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.408e-05/0.1131, allocations: 39.78 kB / 485.3 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.1132, allocations: 39.84 kB / 485.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.1132, allocations: 0 / 485.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.1134, allocations: 47.97 kB / 485.4 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.635e-05/0.1134, allocations: 15.92 kB / 485.4 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.599e-05/0.1135, allocations: 53.45 kB / 485.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.1137, allocations: 103.7 kB / 485.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1137, allocations: 0 / 485.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1137, allocations: 0 / 485.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.1137, allocations: 0 / 485.6 MB, free: 1.598 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.0005464/0.1143, allocations: 399.4 kB / 486 MB, free: 1.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.1144, allocations: 8.875 kB / 486 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.1144, allocations: 12.75 kB / 486 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.1146, allocations: 200.1 kB / 486.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.1146, allocations: 8.312 kB / 486.2 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.1147, allocations: 384 / 486.2 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.1148, allocations: 61.8 kB / 486.3 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1149, allocations: 4 kB / 486.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1149, allocations: 0 / 486.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1149, allocations: 0 / 486.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.115, allocations: 35.86 kB / 486.3 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.1154, allocations: 304.8 kB / 486.6 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.1156, allocations: 46.55 kB / 486.6 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.601e-05/0.1156, allocations: 24.94 kB / 486.7 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.1157, allocations: 0 / 486.7 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.1157, allocations: 34.5 kB / 486.7 MB, free: 328 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.775e-06/0.1157, allocations: 4 kB / 486.7 MB, free: 324 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009474/0.1167, allocations: 273 kB / 487 MB, free: 44 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.1167, allocations: 55.41 kB / 487 MB, free: 15.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.1169, allocations: 205.9 kB / 487.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.1169, allocations: 25.7 kB / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/0.117, allocations: 104.1 kB / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.117, allocations: 31.55 kB / 487.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.1171, allocations: 17.72 kB / 487.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.608e-05/0.1172, allocations: 322.8 kB / 487.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.016e-05/0.1173, allocations: 35.97 kB / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.767e-05/0.1173, allocations: 35.98 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.1175, allocations: 85.03 kB / 487.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1175, allocations: 3.938 kB / 487.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002319/0.1178, allocations: 121.5 kB / 488 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1178, allocations: 6.188 kB / 488 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1178, allocations: 0 / 488 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1178, allocations: 0 / 488 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.118, allocations: 19.98 kB / 488 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.118, allocations: 0 / 488 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.234e-05/0.118, allocations: 11.94 kB / 488 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.1181, allocations: 7.938 kB / 488 MB, free: 14.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 (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 9.704e-05/0.1182, allocations: 137.8 kB / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.1182, allocations: 11.81 kB / 488.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003419/0.1186, allocations: 139 kB / 488.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1186, allocations: 0 / 488.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.1186, allocations: 8 kB / 488.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.1186, allocations: 3.938 kB / 488.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005759/0.1192, allocations: 423.3 kB / 488.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1192, allocations: 32 / 488.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.208e-05/0.1193, allocations: 23.98 kB / 488.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1193, allocations: 3.938 kB / 488.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1193, allocations: 0 / 488.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.1193, allocations: 7.938 kB / 488.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1193, allocations: 0 / 488.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.1196, allocations: 224.2 kB / 489 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.812e-05/0.1197, allocations: 92.95 kB / 489.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.1197, allocations: 3.938 kB / 489.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.055e-05/0.1198, allocations: 7.984 kB / 489.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.1199, allocations: 4 kB / 489.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.1199, allocations: 4 kB / 489.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.12, allocations: 157.8 kB / 489.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.12, allocations: 0 / 489.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.1203, allocations: 27.98 kB / 489.3 MB, free: 13.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.001118/0.1214, allocations: 456.1 kB / 489.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002572/0.1217, allocations: 83.94 kB / 489.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1217, allocations: 0 / 489.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.1218, allocations: 47.98 kB / 489.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.1222, allocations: 23.92 kB / 489.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000564/0.1228, allocations: 290.4 kB / 490.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.1231, allocations: 0.7099 MB / 490.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.263e-05/0.1231, allocations: 20.64 kB / 490.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/0.1232, allocations: 15.44 kB / 490.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1232, allocations: 4 kB / 490.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of Templates: time 0.003999/0.1272, allocations: 1.313 MB / 492.2 MB, free: 10.72 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches