Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 180.7 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.269/1.269, allocations: 221.3 MB / 236 MB, free: 2.898 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.0008361/0.0008361, allocations: 99.48 kB / 287 MB, free: 192 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.1878/0.1878, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.892e-05/2.893e-05, allocations: 4.219 kB / 451.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1072, allocations: 61.91 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3616/0.4688, allocations: 87.97 MB / 0.5876 GB, free: 1.363 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.4691, allocations: 75.95 kB / 0.5877 GB, free: 1.289 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01035/0.4794, allocations: 4.27 MB / 0.5918 GB, free: 13.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.4795, allocations: 3.938 kB / 0.5918 GB, free: 13.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.4795, allocations: 8 kB / 0.5919 GB, free: 13.02 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000325/0.4798, allocations: 390.2 kB / 0.5922 GB, free: 12.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.4799, allocations: 12.03 kB / 0.5922 GB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.4799, allocations: 7.906 kB / 0.5922 GB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.4801, allocations: 198.9 kB / 0.5924 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.4801, allocations: 4 kB / 0.5924 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.4802, allocations: 7.844 kB / 0.5924 GB, free: 12.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.4803, allocations: 57.58 kB / 0.5925 GB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.4803, allocations: 4 kB / 0.5925 GB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.4803, allocations: 0 / 0.5925 GB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.4803, allocations: 0 / 0.5925 GB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.807e-05/0.4804, allocations: 16 kB / 0.5925 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003414/0.4807, allocations: 292.8 kB / 0.5928 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.723e-05/0.4808, allocations: 46.5 kB / 0.5928 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.582e-05/0.4808, allocations: 20.84 kB / 0.5929 GB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.4808, allocations: 0 / 0.5929 GB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.4809, allocations: 34.56 kB / 0.5929 GB, free: 11.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.4809, allocations: 0 / 0.5929 GB, free: 11.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004423/0.4813, allocations: 149.2 kB / 0.593 GB, free: 11.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.4814, allocations: 51.41 kB / 0.5931 GB, free: 11.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.4815, allocations: 181.4 kB / 0.5933 GB, free: 11.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.4816, allocations: 25.7 kB / 0.5933 GB, free: 11.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/0.4816, allocations: 112 kB / 0.5934 GB, free: 11.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.4817, allocations: 27.64 kB / 0.5934 GB, free: 11.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/0.4817, allocations: 0 / 0.5934 GB, free: 11.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.16e-05/0.4818, allocations: 326.8 kB / 0.5937 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.777e-05/0.4818, allocations: 12 kB / 0.5937 GB, free: 10.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.62e-05/0.4818, allocations: 20.02 kB / 0.5938 GB, free: 10.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.709e-05/0.4819, allocations: 19.98 kB / 0.5938 GB, free: 10.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.4819, allocations: 4 kB / 0.5938 GB, free: 10.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001152/0.482, allocations: 81.5 kB / 0.5939 GB, free: 10.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.482, allocations: 5.094 kB / 0.5939 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.482, allocations: 0 / 0.5939 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.482, allocations: 0 / 0.5939 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.939e-05/0.4821, allocations: 19.98 kB / 0.5939 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.4822, allocations: 320 / 0.5939 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.929e-05/0.4822, allocations: 15.98 kB / 0.5939 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.4822, allocations: 4 kB / 0.5939 GB, free: 10.71 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 (8): * Single equations (assignments): 8 * 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 6.321e-05/0.4823, allocations: 112.9 kB / 0.594 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.4823, allocations: 11.91 kB / 0.594 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000173/0.4825, allocations: 98.22 kB / 0.5941 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.4825, allocations: 3.938 kB / 0.5941 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4825, allocations: 0 / 0.5941 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4825, allocations: 3.984 kB / 0.5941 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.483, allocations: 407.2 kB / 0.5945 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.483, allocations: 8 kB / 0.5945 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.935e-05/0.4831, allocations: 15.94 kB / 0.5945 GB, free: 9.992 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.4831, allocations: 7.984 kB / 0.5945 GB, free: 9.984 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.4831, allocations: 0 / 0.5945 GB, free: 9.984 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4831, allocations: 0 / 0.5945 GB, free: 9.984 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4831, allocations: 0 / 0.5945 GB, free: 9.984 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/0.4833, allocations: 202 kB / 0.5947 GB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.906e-05/0.4833, allocations: 100.9 kB / 0.5948 GB, free: 9.645 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.4834, allocations: 0 / 0.5948 GB, free: 9.645 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.408e-05/0.4834, allocations: 8 kB / 0.5948 GB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.4835, allocations: 7.938 kB / 0.5948 GB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.4835, allocations: 8 kB / 0.5949 GB, free: 9.621 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001123/0.4836, allocations: 156.1 kB / 0.595 GB, free: 9.469 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.306e-06/0.4836, allocations: 0 / 0.595 GB, free: 9.469 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002233/0.4839, allocations: 35.88 kB / 0.595 GB, free: 9.434 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0008833/0.4847, allocations: 411 kB / 0.5954 GB, free: 9.145 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001147/0.4849, allocations: 47.92 kB / 0.5955 GB, free: 9.098 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4849, allocations: 4 kB / 0.5955 GB, free: 9.094 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.294e-05/0.4849, allocations: 28.14 kB / 0.5955 GB, free: 9.066 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.4851, allocations: 16.14 kB / 0.5955 GB, free: 9.051 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/0.4855, allocations: 171.9 kB / 0.5957 GB, free: 8.852 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.4858, allocations: 0.716 MB / 0.5964 GB, free: 8.109 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.37e-05/0.4858, allocations: 20.59 kB / 0.5964 GB, free: 8.086 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.4859, allocations: 15.44 kB / 0.5964 GB, free: 8.07 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4859, allocations: 0 / 0.5964 GB, free: 8.07 MB / 410.7 MB Notification: Performance of Templates: time 0.003609/0.4895, allocations: 1.35 MB / 0.5977 GB, free: 6.723 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches