Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 221.3 MB / 236 MB, free: 2.98 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000911/0.000911, allocations: 91.69 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1732/0.1732, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.377e-05/2.38e-05, allocations: 4 kB / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1087, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3457/0.4545, allocations: 88.48 MB / 0.5881 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001851/0.4547, allocations: 67.97 kB / 0.5882 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01122/0.4659, allocations: 4.634 MB / 0.5927 GB, free: 12.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.466, allocations: 8 kB / 0.5927 GB, free: 12.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.507e-06/0.466, allocations: 0 / 0.5927 GB, free: 12.16 MB / 410.7 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.0003489/0.4664, allocations: 402.2 kB / 0.5931 GB, free: 11.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.4664, allocations: 8.031 kB / 0.5931 GB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.4664, allocations: 7.906 kB / 0.5931 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.4667, allocations: 198.1 kB / 0.5933 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.4667, allocations: 11.95 kB / 0.5933 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.4667, allocations: 4 kB / 0.5933 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.4668, allocations: 57.62 kB / 0.5934 GB, free: 11.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.4668, allocations: 3.906 kB / 0.5934 GB, free: 11.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.4669, allocations: 3.984 kB / 0.5934 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.4669, allocations: 0 / 0.5934 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.728e-05/0.4669, allocations: 24 kB / 0.5934 GB, free: 11.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.4673, allocations: 308.8 kB / 0.5937 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.4675, allocations: 50.56 kB / 0.5937 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.46e-05/0.4675, allocations: 16.98 kB / 0.5938 GB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.4675, allocations: 4 kB / 0.5938 GB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.4676, allocations: 34.56 kB / 0.5938 GB, free: 10.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.4676, allocations: 0 / 0.5938 GB, free: 10.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005509/0.4681, allocations: 217 kB / 0.594 GB, free: 10.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.4682, allocations: 59.34 kB / 0.5941 GB, free: 10.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.4683, allocations: 169.4 kB / 0.5942 GB, free: 10.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.4684, allocations: 29.7 kB / 0.5942 GB, free: 10.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.896e-05/0.4684, allocations: 96.14 kB / 0.5943 GB, free: 10.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.4684, allocations: 39.39 kB / 0.5944 GB, free: 10.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.4685, allocations: 8 kB / 0.5944 GB, free: 10.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.251e-05/0.4685, allocations: 322.8 kB / 0.5947 GB, free: 9.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.267e-05/0.4686, allocations: 24 kB / 0.5947 GB, free: 9.906 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.869e-05/0.4686, allocations: 28 kB / 0.5947 GB, free: 9.879 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.679e-05/0.4687, allocations: 26.94 kB / 0.5948 GB, free: 9.855 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4687, allocations: 0 / 0.5948 GB, free: 9.855 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000148/0.4689, allocations: 109.4 kB / 0.5949 GB, free: 9.742 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.4689, allocations: 9.562 kB / 0.5949 GB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.4689, allocations: 0 / 0.5949 GB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.4689, allocations: 3.938 kB / 0.5949 GB, free: 9.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.469, allocations: 39.91 kB / 0.5949 GB, free: 9.691 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.469, allocations: 3.953 kB / 0.5949 GB, free: 9.688 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.826e-05/0.4691, allocations: 12 kB / 0.5949 GB, free: 9.676 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.4691, allocations: 0 / 0.5949 GB, free: 9.676 MB / 410.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.766e-05/0.4692, allocations: 113 kB / 0.595 GB, free: 9.559 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.4692, allocations: 11.91 kB / 0.5951 GB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/0.4694, allocations: 134.1 kB / 0.5952 GB, free: 9.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4695, allocations: 3.984 kB / 0.5952 GB, free: 9.406 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4695, allocations: 0 / 0.5952 GB, free: 9.406 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4695, allocations: 3.953 kB / 0.5952 GB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000444/0.4699, allocations: 452 kB / 0.5956 GB, free: 8.898 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4699, allocations: 0 / 0.5956 GB, free: 8.898 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.47, allocations: 31.98 kB / 0.5957 GB, free: 8.867 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4701, allocations: 0 / 0.5957 GB, free: 8.867 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.4701, allocations: 7.953 kB / 0.5957 GB, free: 8.859 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.4701, allocations: 0 / 0.5957 GB, free: 8.859 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.4701, allocations: 0 / 0.5957 GB, free: 8.859 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.4703, allocations: 244.5 kB / 0.5959 GB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.4703, allocations: 100.9 kB / 0.596 GB, free: 8.469 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.4704, allocations: 0 / 0.596 GB, free: 8.469 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.4705, allocations: 20.36 kB / 0.596 GB, free: 8.449 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.4705, allocations: 11.98 kB / 0.596 GB, free: 8.438 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.4705, allocations: 8 kB / 0.596 GB, free: 8.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001075/0.4707, allocations: 148.1 kB / 0.5962 GB, free: 8.285 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4707, allocations: 0 / 0.5962 GB, free: 8.285 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002337/0.4709, allocations: 31.94 kB / 0.5962 GB, free: 8.254 MB / 410.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008622/0.4718, allocations: 417.1 kB / 0.5966 GB, free: 7.957 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000147/0.4719, allocations: 79.81 kB / 0.5967 GB, free: 7.879 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4719, allocations: 0 / 0.5967 GB, free: 7.879 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.341e-05/0.472, allocations: 39.94 kB / 0.5967 GB, free: 7.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.4722, allocations: 19.94 kB / 0.5967 GB, free: 7.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004167/0.4726, allocations: 203.9 kB / 0.5969 GB, free: 7.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.4729, allocations: 0.7199 MB / 0.5976 GB, free: 6.844 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.054e-05/0.473, allocations: 20.41 kB / 0.5976 GB, free: 6.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.048e-05/0.4731, allocations: 19.42 kB / 0.5977 GB, free: 6.801 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4731, allocations: 0 / 0.5977 GB, free: 6.801 MB / 410.7 MB Notification: Performance of Templates: time 0.003896/0.477, allocations: 1.517 MB / 0.5991 GB, free: 5.289 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches