Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 110.3 kB / 17.98 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.00115, allocations: 193.3 kB / 18.9 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 242.6 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1994/0.1994, allocations: 44.18 MB / 336.9 MB, free: 2.922 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 64.48 kB / 408.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09558/0.0968, allocations: 60.82 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003047/0.09989, allocations: 1.63 MB / 471 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006842/0.1006, allocations: 399.3 kB / 471.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.1007, allocations: 4 kB / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004852/0.1012, allocations: 443.2 kB / 471.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00033/0.1015, allocations: 251.5 kB / 472.1 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.1018, allocations: 103.8 kB / 472.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002213/0.1021, allocations: 155.7 kB / 472.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.267e-05/0.1022, allocations: 15.98 kB / 472.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.1023, allocations: 103.7 kB / 472.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.1025, allocations: 211.6 kB / 472.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1025, allocations: 4 kB / 472.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.556e-05/0.1026, allocations: 27.98 kB / 472.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.974e-05/0.1027, allocations: 91.61 kB / 472.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.037e-05/0.1028, allocations: 99 kB / 472.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.103, allocations: 171.7 kB / 473 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.103, allocations: 4 kB / 473.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.103, allocations: 0 / 473.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.103, allocations: 0 / 473.1 MB, free: 11.04 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000649/0.1037, allocations: 0.6222 MB / 473.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.1037, allocations: 8.031 kB / 473.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.1038, allocations: 44.38 kB / 473.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.1041, allocations: 288.3 kB / 474 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.1041, allocations: 384 / 474 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.1041, allocations: 4.375 kB / 474 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.1042, allocations: 53.8 kB / 474.1 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1042, allocations: 3.938 kB / 474.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.1042, allocations: 0 / 474.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1043, allocations: 0 / 474.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.629e-05/0.1043, allocations: 19.98 kB / 474.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.1047, allocations: 376.7 kB / 474.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.785e-05/0.1048, allocations: 34.56 kB / 474.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.053e-05/0.1049, allocations: 16.86 kB / 474.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.1049, allocations: 0 / 474.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.1049, allocations: 30.56 kB / 474.5 MB, free: 9.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.1049, allocations: 4 kB / 474.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002336/0.1052, allocations: 93.2 kB / 474.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.1052, allocations: 55.41 kB / 474.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007438/0.106, allocations: 0.8535 MB / 475.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.106, allocations: 29.64 kB / 475.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.1061, allocations: 220.1 kB / 475.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.1062, allocations: 3.906 kB / 475.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.1062, allocations: 17.84 kB / 475.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1063, allocations: 362.7 kB / 476.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.373e-05/0.1064, allocations: 15.92 kB / 476.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.947e-05/0.1064, allocations: 8 kB / 476.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.5e-05/0.1065, allocations: 24.84 kB / 476.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1065, allocations: 0 / 476.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001363/0.1067, allocations: 97.17 kB / 476.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1067, allocations: 4 kB / 476.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.1067, allocations: 0 / 476.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.1067, allocations: 0 / 476.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.523e-05/0.1068, allocations: 4 kB / 476.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1068, allocations: 4 kB / 476.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.213e-05/0.1068, allocations: 0 / 476.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.1068, allocations: 7.875 kB / 476.3 MB, free: 7.539 MB / 350.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 (2): * Single equations (assignments): 2 * 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.0001592/0.107, allocations: 217.7 kB / 476.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.523e-05/0.1071, allocations: 43.44 kB / 476.6 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001816/0.1072, allocations: 108.6 kB / 476.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1073, allocations: 0 / 476.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1073, allocations: 0 / 476.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.1073, allocations: 0 / 476.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.1075, allocations: 281.5 kB / 477 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1075, allocations: 4 kB / 477 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.207e-05/0.1076, allocations: 4 kB / 477 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1076, allocations: 8.016 kB / 477 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.1076, allocations: 0 / 477 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1076, allocations: 0 / 477 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1076, allocations: 0 / 477 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.1078, allocations: 190.9 kB / 477.2 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.942e-05/0.1078, allocations: 108.5 kB / 477.3 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.1079, allocations: 4 kB / 477.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-05/0.1079, allocations: 4.031 kB / 477.3 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/0.108, allocations: 3.984 kB / 477.3 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.108, allocations: 4 kB / 477.3 MB, free: 6.473 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005564/0.1086, allocations: 0.6472 MB / 477.9 MB, free: 5.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1086, allocations: 0 / 477.9 MB, free: 5.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.1088, allocations: 19.94 kB / 477.9 MB, free: 5.809 MB / 350.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 (2): * Single equations (assignments): 2 * 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.0007382/0.1095, allocations: 353.1 kB / 478.3 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001217/0.1097, allocations: 27.92 kB / 478.3 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1097, allocations: 0 / 478.3 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.899e-05/0.1097, allocations: 12 kB / 478.3 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.1101, allocations: 21.94 kB / 478.3 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009866/0.1111, allocations: 0.8705 MB / 479.2 MB, free: 4.633 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.1115, allocations: 0.8143 MB / 480 MB, free: 3.789 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.1115, allocations: 11.44 kB / 480 MB, free: 3.777 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1115, allocations: 0 / 480 MB, free: 3.777 MB / 350.1 MB Notification: Performance of Templates: time 0.006076/0.1176, allocations: 3.414 MB / 483.5 MB, free: 372 kB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches