Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001651/0.001651, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002084/0.002084, 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 2.096/2.096, allocations: 227.4 MB / 246.9 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2297/0.2297, allocations: 46.11 MB / 344.3 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 77.31 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1099, allocations: 62.45 MB / 479.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003216/0.1132, allocations: 1.735 MB / 481.7 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009699/0.1142, allocations: 0.5494 MB / 482.2 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.217e-05/0.1143, allocations: 7.938 kB / 482.2 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000222/0.1145, allocations: 47.86 kB / 482.3 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.1148, allocations: 67.81 kB / 482.3 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.1151, allocations: 127.5 kB / 482.5 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.1153, allocations: 75.81 kB / 482.5 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.592e-05/0.1154, allocations: 16.23 kB / 482.6 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.83e-05/0.1154, allocations: 39.78 kB / 482.6 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.827e-05/0.1155, allocations: 43.83 kB / 482.6 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.1155, allocations: 0 / 482.6 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.1157, allocations: 47.98 kB / 482.7 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.1157, allocations: 19.92 kB / 482.7 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.779e-05/0.1158, allocations: 31.73 kB / 482.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.1159, allocations: 79.83 kB / 482.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1159, allocations: 4 kB / 482.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1159, allocations: 0 / 482.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.1159, allocations: 0 / 482.8 MB, free: 2.828 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.0004688/0.1164, allocations: 419.3 kB / 483.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.1164, allocations: 8.031 kB / 483.2 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.1165, allocations: 8.844 kB / 483.2 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.1167, allocations: 200 kB / 483.4 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.1167, allocations: 384 / 483.4 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.1167, allocations: 11.94 kB / 483.5 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.1169, allocations: 65.61 kB / 483.5 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1169, allocations: 4 kB / 483.5 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.1169, allocations: 0 / 483.5 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1169, allocations: 0 / 483.5 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.1171, allocations: 43.95 kB / 483.6 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/0.1175, allocations: 304.7 kB / 483.9 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.1177, allocations: 58.55 kB / 483.9 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.496e-05/0.1178, allocations: 24.97 kB / 483.9 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.1178, allocations: 0 / 483.9 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.1178, allocations: 34.55 kB / 484 MB, free: 1.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.1178, allocations: 4 kB / 484 MB, free: 1.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001413/0.1193, allocations: 401.2 kB / 484.4 MB, free: 1.109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.1193, allocations: 55.41 kB / 484.4 MB, free: 1.043 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.1195, allocations: 174.5 kB / 484.6 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.1195, allocations: 25.7 kB / 484.6 MB, free: 0.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.411e-05/0.1196, allocations: 112 kB / 484.7 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.1196, allocations: 27.56 kB / 484.8 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.493e-05/0.1197, allocations: 29.7 kB / 484.8 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1198, allocations: 322.8 kB / 485.1 MB, free: 340 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.1199, allocations: 40.16 kB / 485.1 MB, free: 300 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.12, allocations: 43.97 kB / 485.2 MB, free: 256 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/0.1203, allocations: 109 kB / 485.3 MB, free: 144 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1203, allocations: 4 kB / 485.3 MB, free: 140 kB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000318/0.1206, allocations: 145.5 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1206, allocations: 4 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1207, allocations: 7.875 kB / 485.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.1207, allocations: 4 kB / 485.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.1208, allocations: 27.97 kB / 485.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1208, allocations: 4 kB / 485.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.927e-05/0.1209, allocations: 4 kB / 485.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.1209, allocations: 7.984 kB / 485.5 MB, free: 15.93 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.376e-05/0.121, allocations: 121.8 kB / 485.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.121, allocations: 11.89 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003779/0.1214, allocations: 174.1 kB / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.1214, allocations: 0 / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1214, allocations: 0 / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1215, allocations: 0 / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006393/0.1221, allocations: 479.8 kB / 486.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1221, allocations: 0 / 486.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.1222, allocations: 23.98 kB / 486.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.1222, allocations: 4 kB / 486.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.1223, allocations: 4 kB / 486.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1223, allocations: 4 kB / 486.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1223, allocations: 3.984 kB / 486.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.1226, allocations: 249 kB / 486.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-05/0.1227, allocations: 92.91 kB / 486.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.1227, allocations: 8 kB / 486.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.313e-05/0.1228, allocations: 8 kB / 486.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.1229, allocations: 7.984 kB / 486.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.1229, allocations: 4 kB / 486.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.123, allocations: 142.5 kB / 486.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.123, allocations: 0 / 486.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1233, allocations: 20 kB / 486.8 MB, free: 14.48 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.001014/0.1243, allocations: 465.1 kB / 487.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003141/0.1246, allocations: 107.8 kB / 487.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1246, allocations: 8 kB / 487.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.1248, allocations: 55.91 kB / 487.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.1251, allocations: 15.98 kB / 487.5 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005612/0.1257, allocations: 323.6 kB / 487.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.126, allocations: 0.7045 MB / 488.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.935e-05/0.126, allocations: 23.42 kB / 488.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.126, allocations: 11.88 kB / 488.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of Templates: time 0.003559/0.1296, allocations: 1.88 MB / 490.4 MB, free: 11 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches