Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 177 kB / 17.06 MB, free: 5.094 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.258/1.258, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009092/0.0009091, allocations: 95.12 kB / 292.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3109/0.3109, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003577, allocations: 8 kB / 459.9 MB, free: 1.559 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3314, allocations: 61.9 MB / 0.5096 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.4561, allocations: 89.18 MB / 0.5967 GB, free: 5.977 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.4565, allocations: 79.94 kB / 0.5967 GB, free: 5.902 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01235/0.4688, allocations: 4.716 MB / 0.6013 GB, free: 1.176 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4689, allocations: 0 / 0.6013 GB, free: 1.176 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.586e-05/0.4689, allocations: 4 kB / 0.6013 GB, free: 1.172 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.0004979/0.4694, allocations: 399 kB / 0.6017 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.4695, allocations: 8.562 kB / 0.6017 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.316e-05/0.4695, allocations: 7.906 kB / 0.6017 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.4698, allocations: 191.8 kB / 0.6019 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.4698, allocations: 7.953 kB / 0.6019 GB, free: 496 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.4699, allocations: 11.98 kB / 0.6019 GB, free: 484 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.4701, allocations: 79.31 kB / 0.602 GB, free: 392 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.4701, allocations: 3.906 kB / 0.602 GB, free: 388 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.4701, allocations: 0 / 0.602 GB, free: 388 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.4701, allocations: 4 kB / 0.602 GB, free: 384 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.4703, allocations: 47.97 kB / 0.6021 GB, free: 336 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005401/0.4708, allocations: 312.7 kB / 0.6024 GB, free: 15.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.471, allocations: 58.55 kB / 0.6024 GB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.471, allocations: 0 / 0.6024 GB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.471, allocations: 34.56 kB / 0.6025 GB, free: 15.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.471, allocations: 0 / 0.6025 GB, free: 15.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008402/0.4719, allocations: 261.2 kB / 0.6027 GB, free: 15.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.472, allocations: 85.05 kB / 0.6028 GB, free: 15.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.4721, allocations: 130.9 kB / 0.6029 GB, free: 15.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.4721, allocations: 29.7 kB / 0.6029 GB, free: 15.33 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.08e-05/0.4722, allocations: 100 kB / 0.603 GB, free: 15.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.4722, allocations: 19.66 kB / 0.603 GB, free: 15.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-06/0.4723, allocations: 4 kB / 0.6031 GB, free: 15.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4724, allocations: 322.8 kB / 0.6034 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.4725, allocations: 43.97 kB / 0.6034 GB, free: 14.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.4726, allocations: 69.73 kB / 0.6035 GB, free: 14.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.4728, allocations: 55.91 kB / 0.6035 GB, free: 14.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4728, allocations: 4.031 kB / 0.6035 GB, free: 14.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002912/0.4731, allocations: 129.5 kB / 0.6037 GB, free: 14.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.4731, allocations: 4 kB / 0.6037 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4731, allocations: 4 kB / 0.6037 GB, free: 14.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.4731, allocations: 3.984 kB / 0.6037 GB, free: 14.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.4733, allocations: 23.98 kB / 0.6037 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.4733, allocations: 0 / 0.6037 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.795e-05/0.4734, allocations: 15.98 kB / 0.6037 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.4734, allocations: 0 / 0.6037 GB, free: 14.52 MB / 426.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.4735, allocations: 133.7 kB / 0.6038 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.4735, allocations: 7.906 kB / 0.6038 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003419/0.4739, allocations: 154.3 kB / 0.604 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.4739, allocations: 0 / 0.604 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4739, allocations: 4 kB / 0.604 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4739, allocations: 0 / 0.604 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000561/0.4745, allocations: 430.8 kB / 0.6044 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4745, allocations: 0 / 0.6044 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.451e-05/0.4746, allocations: 23.98 kB / 0.6044 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.4746, allocations: 0 / 0.6044 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.4746, allocations: 0 / 0.6044 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.098e-06/0.4746, allocations: 4 kB / 0.6044 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4746, allocations: 80 / 0.6044 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.475, allocations: 251.2 kB / 0.6047 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.011e-05/0.475, allocations: 93 kB / 0.6048 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.4751, allocations: 0 / 0.6048 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.019e-05/0.4752, allocations: 11.98 kB / 0.6048 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.4752, allocations: 8 kB / 0.6048 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.4752, allocations: 4 kB / 0.6048 GB, free: 13.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.963e-05/0.4753, allocations: 112.8 kB / 0.6049 GB, free: 13.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4753, allocations: 0 / 0.6049 GB, free: 13.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000261/0.4756, allocations: 39.92 kB / 0.6049 GB, free: 13.17 MB / 426.7 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 (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.0009503/0.4766, allocations: 462.9 kB / 0.6054 GB, free: 12.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000308/0.4769, allocations: 103.9 kB / 0.6055 GB, free: 12.78 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4769, allocations: 0 / 0.6055 GB, free: 12.78 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.477, allocations: 59.97 kB / 0.6055 GB, free: 12.72 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.4772, allocations: 11.98 kB / 0.6055 GB, free: 12.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004215/0.4777, allocations: 221.3 kB / 0.6057 GB, free: 12.47 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.478, allocations: 0.7004 MB / 0.6064 GB, free: 11.74 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.55e-05/0.4781, allocations: 20.95 kB / 0.6064 GB, free: 11.72 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.4781, allocations: 23.42 kB / 0.6065 GB, free: 11.7 MB / 426.7 MB Notification: Performance of SimCode: time 2.385e-06/0.4781, allocations: 0 / 0.6065 GB, free: 11.7 MB / 426.7 MB Notification: Performance of Templates: time 0.003924/0.482, allocations: 1.452 MB / 0.6079 GB, free: 10.25 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches