Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001152/0.001152, 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.001341/0.001341, 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 1.343/1.343, allocations: 227.4 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2054/0.2054, allocations: 46.11 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 82.48 kB / 417.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1073, allocations: 62.43 MB / 479.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003093/0.1104, allocations: 1.708 MB / 481.6 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009804/0.1114, allocations: 0.5807 MB / 482.2 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.178e-05/0.1115, allocations: 4 kB / 482.2 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005028/0.112, allocations: 455.2 kB / 482.7 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003722/0.1124, allocations: 271.5 kB / 482.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.1128, allocations: 174.6 kB / 483.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000225/0.1131, allocations: 163.7 kB / 483.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.1132, allocations: 23.98 kB / 483.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.1133, allocations: 107.7 kB / 483.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.1136, allocations: 199.6 kB / 483.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.1136, allocations: 3.938 kB / 483.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.064e-05/0.1137, allocations: 35.92 kB / 483.6 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.1138, allocations: 79.69 kB / 483.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.061e-05/0.1139, allocations: 107 kB / 483.8 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.1141, allocations: 195.8 kB / 484 MB, free: 1.629 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.1141, allocations: 0 / 484 MB, free: 1.629 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1141, allocations: 0 / 484 MB, free: 1.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1142, allocations: 0 / 484 MB, free: 1.629 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.0006787/0.1148, allocations: 0.6338 MB / 484.6 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1149, allocations: 12.88 kB / 484.6 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.82e-05/0.115, allocations: 40.38 kB / 484.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.1152, allocations: 304.1 kB / 485 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.1153, allocations: 4.375 kB / 485 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.1153, allocations: 4.375 kB / 485 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1154, allocations: 57.8 kB / 485 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1155, allocations: 3.984 kB / 485.1 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.1155, allocations: 4 kB / 485.1 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1155, allocations: 3.938 kB / 485.1 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.1156, allocations: 31.92 kB / 485.1 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005158/0.1161, allocations: 396.7 kB / 485.5 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.1164, allocations: 42.61 kB / 485.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.45e-05/0.1164, allocations: 20.89 kB / 485.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.1164, allocations: 0 / 485.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.1165, allocations: 34.5 kB / 485.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.1165, allocations: 4 kB / 485.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006299/0.1171, allocations: 247.9 kB / 485.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.1172, allocations: 51.41 kB / 485.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000783/0.1179, allocations: 0.8699 MB / 486.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.118, allocations: 29.7 kB / 486.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.1181, allocations: 220.1 kB / 487 MB, free: 14.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.1182, allocations: 19.81 kB / 487 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.1182, allocations: 17.72 kB / 487 MB, free: 14.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1184, allocations: 362.7 kB / 487.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.606e-05/0.1184, allocations: 19.98 kB / 487.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.46e-05/0.1185, allocations: 19.98 kB / 487.4 MB, free: 14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.1186, allocations: 61 kB / 487.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1187, allocations: 4 kB / 487.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002199/0.1189, allocations: 125 kB / 487.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1189, allocations: 4 kB / 487.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1189, allocations: 0 / 487.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1189, allocations: 0 / 487.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.046e-05/0.119, allocations: 19.98 kB / 487.6 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.119, allocations: 0 / 487.6 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.988e-05/0.1191, allocations: 11.86 kB / 487.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.1191, allocations: 4 kB / 487.6 MB, free: 13.76 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 0.0001824/0.1193, allocations: 213.8 kB / 487.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.1194, allocations: 43.44 kB / 487.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/0.1196, allocations: 141.1 kB / 488 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1197, allocations: 3.984 kB / 488 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.1197, allocations: 4 kB / 488 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1197, allocations: 3.938 kB / 488 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000532/0.1202, allocations: 466.5 kB / 488.5 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1202, allocations: 3.938 kB / 488.5 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.793e-05/0.1203, allocations: 12 kB / 488.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1203, allocations: 0 / 488.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1203, allocations: 3.938 kB / 488.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.1203, allocations: 3.984 kB / 488.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1203, allocations: 3.938 kB / 488.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.1206, allocations: 219.2 kB / 488.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.33e-05/0.1207, allocations: 108.6 kB / 488.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.1207, allocations: 11.94 kB / 488.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.901e-05/0.1208, allocations: 0 / 488.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.1208, allocations: 7.984 kB / 488.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.1208, allocations: 0 / 488.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005888/0.1214, allocations: 0.655 MB / 489.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1215, allocations: 4 kB / 489.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000259/0.1217, allocations: 31.89 kB / 489.6 MB, free: 11.74 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.0008912/0.1226, allocations: 391 kB / 489.9 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.1228, allocations: 55.89 kB / 490 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1228, allocations: 4 kB / 490 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.007e-05/0.1229, allocations: 31.92 kB / 490 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.1233, allocations: 26.3 kB / 490 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.1245, allocations: 0.9082 MB / 491 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.1249, allocations: 0.8262 MB / 491.8 MB, free: 9.582 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.125, allocations: 15.44 kB / 491.8 MB, free: 9.566 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.125, allocations: 7.938 kB / 491.8 MB, free: 9.559 MB / 366.1 MB Notification: Performance of Templates: time 0.007041/0.132, allocations: 3.777 MB / 495.6 MB, free: 5.777 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches