Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001153/0.001153, allocations: 110.6 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.00117/0.00117, 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.324/1.324, allocations: 227.4 MB / 246.9 MB, free: 8.957 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.202/0.202, allocations: 46.09 MB / 344.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 76.94 kB / 417.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1018, allocations: 62.45 MB / 479.9 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.00299/0.1048, allocations: 1.719 MB / 481.7 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.1064, allocations: 1.159 MB / 482.8 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.1065, allocations: 0 / 482.8 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.1067, allocations: 19.94 kB / 482.8 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002274/0.1069, allocations: 63.75 kB / 482.9 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.1073, allocations: 123.6 kB / 483 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.1074, allocations: 71.77 kB / 483.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.579e-05/0.1075, allocations: 15.98 kB / 483.1 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.103e-05/0.1075, allocations: 27.86 kB / 483.1 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.1077, allocations: 35.83 kB / 483.2 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.1077, allocations: 7.938 kB / 483.2 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.1079, allocations: 99.88 kB / 483.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.108, allocations: 15.92 kB / 483.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.613e-05/0.108, allocations: 23.86 kB / 483.3 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.1082, allocations: 111.8 kB / 483.4 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1082, allocations: 0 / 483.4 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1082, allocations: 0 / 483.4 MB, free: 2.176 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1082, allocations: 0 / 483.4 MB, free: 2.176 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.0004948/0.1087, allocations: 411.4 kB / 483.8 MB, free: 1.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.1087, allocations: 12.88 kB / 483.8 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.1088, allocations: 12.84 kB / 483.8 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.109, allocations: 184.3 kB / 484 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.405e-06/0.109, allocations: 384 / 484 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.109, allocations: 8.375 kB / 484 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.1092, allocations: 75.5 kB / 484.1 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1092, allocations: 0 / 484.1 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1092, allocations: 0 / 484.1 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1093, allocations: 11.88 kB / 484.1 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.1094, allocations: 35.97 kB / 484.2 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.1098, allocations: 296.7 kB / 484.4 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.1099, allocations: 42.56 kB / 484.5 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.413e-05/0.11, allocations: 28.88 kB / 484.5 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.11, allocations: 4 kB / 484.5 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.11, allocations: 30.56 kB / 484.5 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.11, allocations: 0 / 484.5 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007736/0.1108, allocations: 217.3 kB / 484.8 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.1109, allocations: 77.11 kB / 484.8 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.111, allocations: 148.1 kB / 485 MB, free: 424 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.111, allocations: 25.7 kB / 485 MB, free: 392 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.1111, allocations: 96.12 kB / 485.1 MB, free: 292 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.1111, allocations: 19.66 kB / 485.1 MB, free: 272 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/0.1112, allocations: 21.72 kB / 485.1 MB, free: 244 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1113, allocations: 322.8 kB / 485.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.1114, allocations: 35.97 kB / 485.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.1116, allocations: 45.69 kB / 485.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.1118, allocations: 76.83 kB / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1118, allocations: 0 / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002834/0.1121, allocations: 117.5 kB / 485.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1121, allocations: 4 kB / 485.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.1121, allocations: 0 / 485.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.1121, allocations: 0 / 485.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.1122, allocations: 19.98 kB / 485.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1123, allocations: 4.25 kB / 485.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.095e-05/0.1123, allocations: 19.92 kB / 485.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1124, allocations: 0 / 485.8 MB, free: 15.58 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 8.179e-05/0.1124, allocations: 117.8 kB / 485.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.1125, allocations: 8.188 kB / 485.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003305/0.1128, allocations: 134.2 kB / 486 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1128, allocations: 7.984 kB / 486 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1128, allocations: 0 / 486 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1129, allocations: 3.938 kB / 486 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005192/0.1134, allocations: 394.4 kB / 486.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1134, allocations: 3.938 kB / 486.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.516e-05/0.1135, allocations: 19.98 kB / 486.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1135, allocations: 4 kB / 486.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1135, allocations: 7.938 kB / 486.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1135, allocations: 0 / 486.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1135, allocations: 0 / 486.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.1138, allocations: 207.4 kB / 486.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.792e-05/0.1139, allocations: 85.02 kB / 486.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.1139, allocations: 7.938 kB / 486.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.436e-05/0.114, allocations: 11.98 kB / 486.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.1141, allocations: 4 kB / 486.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.1141, allocations: 7.922 kB / 486.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.495e-05/0.1142, allocations: 111.3 kB / 486.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1142, allocations: 0 / 486.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.1145, allocations: 39.98 kB / 486.9 MB, free: 14.32 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.001108/0.1156, allocations: 0.5008 MB / 487.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002883/0.1159, allocations: 71.94 kB / 487.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1159, allocations: 0 / 487.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.116, allocations: 43.91 kB / 487.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.1164, allocations: 17.66 kB / 487.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004959/0.1169, allocations: 237.7 kB / 487.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.1172, allocations: 0.6906 MB / 488.5 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.046e-05/0.1173, allocations: 27.42 kB / 488.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1173, allocations: 0 / 488.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of Templates: time 0.004123/0.1214, allocations: 2.078 MB / 490.6 MB, free: 10.77 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches