Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009208/0.0009208, allocations: 94.55 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0011/0.0011, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.7 MB / 247.5 MB, free: 11.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2019/0.2019, allocations: 46.18 MB / 345.9 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002561/0.0002562, allocations: 8 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09857/0.09884, allocations: 63.56 MB / 483.7 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.001858/0.1007, allocations: 1.38 MB / 485.1 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.1023, allocations: 1.132 MB / 486.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.706e-05/0.1024, allocations: 0 / 486.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000167/0.1026, allocations: 23.91 kB / 486.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.1028, allocations: 75.75 kB / 486.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.1032, allocations: 110.9 kB / 486.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.1033, allocations: 71.77 kB / 486.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.363e-05/0.1034, allocations: 15.98 kB / 486.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.479e-05/0.1035, allocations: 27.92 kB / 486.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.1036, allocations: 35.78 kB / 486.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.1036, allocations: 0 / 486.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.1038, allocations: 95.86 kB / 486.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.999e-05/0.1039, allocations: 8 kB / 486.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.52e-05/0.1039, allocations: 61.48 kB / 486.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.1041, allocations: 99.84 kB / 486.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1042, allocations: 0 / 486.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.1042, allocations: 0 / 486.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.1042, allocations: 3.938 kB / 486.9 MB, free: 0.9766 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.0004936/0.1047, allocations: 403.5 kB / 487.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.1047, allocations: 12.86 kB / 487.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.1048, allocations: 12.78 kB / 487.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.1049, allocations: 188.3 kB / 487.5 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.105, allocations: 4.375 kB / 487.5 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.105, allocations: 4.375 kB / 487.5 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.1052, allocations: 79.52 kB / 487.6 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1052, allocations: 0 / 487.6 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1052, allocations: 3.938 kB / 487.6 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.1052, allocations: 0 / 487.6 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.1054, allocations: 47.95 kB / 487.6 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.1057, allocations: 300.7 kB / 487.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.1059, allocations: 42.56 kB / 487.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.836e-05/0.106, allocations: 36.88 kB / 488 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.106, allocations: 0 / 488 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.106, allocations: 34.56 kB / 488 MB, free: 15.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.106, allocations: 0 / 488 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008045/0.1068, allocations: 241.2 kB / 488.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.1069, allocations: 85.09 kB / 488.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.1071, allocations: 152.4 kB / 488.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.1071, allocations: 25.7 kB / 488.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/0.1071, allocations: 96.05 kB / 488.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.1072, allocations: 27.7 kB / 488.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.1072, allocations: 17.72 kB / 488.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1073, allocations: 318.8 kB / 488.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.1075, allocations: 43.97 kB / 489 MB, free: 14.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.1076, allocations: 53.69 kB / 489 MB, free: 14.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/0.1078, allocations: 93.08 kB / 489.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1078, allocations: 0 / 489.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003051/0.1082, allocations: 137.5 kB / 489.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.1082, allocations: 4 kB / 489.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1082, allocations: 0 / 489.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.1082, allocations: 0 / 489.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.1083, allocations: 27.97 kB / 489.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1084, allocations: 0 / 489.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.907e-05/0.1084, allocations: 23.92 kB / 489.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.1085, allocations: 288 / 489.3 MB, free: 14.27 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 7.721e-05/0.1085, allocations: 113.8 kB / 489.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.1086, allocations: 7.906 kB / 489.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003549/0.1089, allocations: 150.2 kB / 489.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.109, allocations: 4 kB / 489.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.109, allocations: 4 kB / 489.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.109, allocations: 3.938 kB / 489.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005413/0.1095, allocations: 410.4 kB / 490 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1095, allocations: 3.938 kB / 490 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.459e-05/0.1096, allocations: 27.98 kB / 490 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1096, allocations: 0 / 490 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.1097, allocations: 7.938 kB / 490 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1097, allocations: 0 / 490 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1097, allocations: 0 / 490 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000334/0.11, allocations: 227.4 kB / 490.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.1101, allocations: 85 kB / 490.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.1101, allocations: 11.94 kB / 490.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.1102, allocations: 11.98 kB / 490.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.1103, allocations: 19.86 kB / 490.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.1103, allocations: 0 / 490.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.606e-05/0.1104, allocations: 113.1 kB / 490.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1104, allocations: 0 / 490.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002846/0.1107, allocations: 43.98 kB / 490.5 MB, free: 12.95 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.00107/0.1117, allocations: 0.4896 MB / 491 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003017/0.112, allocations: 91.94 kB / 491.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1121, allocations: 0 / 491.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.1122, allocations: 59.84 kB / 491.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.1125, allocations: 11.98 kB / 491.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000495/0.113, allocations: 247.1 kB / 491.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.1133, allocations: 0.6945 MB / 492.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.963e-05/0.1133, allocations: 23.42 kB / 492.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1133, allocations: 0 / 492.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of Templates: time 0.003803/0.1171, allocations: 2.071 MB / 494.2 MB, free: 9.371 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches