Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 109.3 kB / 18.45 MB, free: 4.625 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.001305/0.001305, allocations: 185.1 kB / 19.37 MB, free: 3.707 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.35/1.35, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.2173/0.2173, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.001559, allocations: 59.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3586, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.002872/0.3616, allocations: 1.639 MB / 0.5212 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007386/0.3623, allocations: 420.8 kB / 0.5216 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.108e-05/0.3624, allocations: 1.188 kB / 0.5216 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002583/0.3627, allocations: 67.23 kB / 0.5217 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002383/0.3629, allocations: 58.92 kB / 0.5217 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.3633, allocations: 141 kB / 0.5219 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.3635, allocations: 79.2 kB / 0.5219 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3636, allocations: 18.77 kB / 0.5219 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.045e-05/0.3637, allocations: 38.53 kB / 0.522 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.3638, allocations: 54.05 kB / 0.522 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.3638, allocations: 3.688 kB / 0.522 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.364, allocations: 51.44 kB / 0.5221 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.562e-05/0.364, allocations: 26.08 kB / 0.5221 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.3641, allocations: 30.91 kB / 0.5221 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.3643, allocations: 108.3 kB / 0.5222 GB, free: 1.922 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3643, allocations: 1.031 kB / 0.5222 GB, free: 1.922 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3643, allocations: 0 / 0.5222 GB, free: 1.922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.3643, allocations: 3.938 kB / 0.5223 GB, free: 1.918 MB / 382.1 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.0004533/0.3648, allocations: 416.5 kB / 0.5226 GB, free: 1.516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3648, allocations: 9.875 kB / 0.5227 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.793e-05/0.3649, allocations: 14 kB / 0.5227 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.365, allocations: 201.2 kB / 0.5229 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.3651, allocations: 6.812 kB / 0.5229 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.3651, allocations: 10.86 kB / 0.5229 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.3653, allocations: 64.59 kB / 0.5229 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3653, allocations: 0 / 0.5229 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.3653, allocations: 5.156 kB / 0.5229 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3653, allocations: 1.031 kB / 0.5229 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.3655, allocations: 43.06 kB / 0.523 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003408/0.3658, allocations: 297 kB / 0.5233 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.3661, allocations: 57.64 kB / 0.5233 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.115e-05/0.3662, allocations: 32.86 kB / 0.5234 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.3662, allocations: 0.875 kB / 0.5234 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.3662, allocations: 32.69 kB / 0.5234 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.3662, allocations: 0 / 0.5234 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001412/0.3676, allocations: 389.4 kB / 0.5238 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.3677, allocations: 58.22 kB / 0.5238 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.3679, allocations: 205 kB / 0.524 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.3679, allocations: 25.7 kB / 0.524 GB, free: 496 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.368, allocations: 109.2 kB / 0.5241 GB, free: 392 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.368, allocations: 34.88 kB / 0.5242 GB, free: 364 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/0.368, allocations: 22.25 kB / 0.5242 GB, free: 344 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.821e-05/0.3681, allocations: 327.3 kB / 0.5245 GB, free: 16 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.3682, allocations: 43.61 kB / 0.5245 GB, free: 4 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.3684, allocations: 45.22 kB / 0.5246 GB, free: 15.99 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.3687, allocations: 100.6 kB / 0.5247 GB, free: 15.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3687, allocations: 0 / 0.5247 GB, free: 15.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003231/0.369, allocations: 142.2 kB / 0.5248 GB, free: 15.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.369, allocations: 5.984 kB / 0.5248 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.369, allocations: 1.781 kB / 0.5248 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.369, allocations: 0.5625 kB / 0.5248 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.3692, allocations: 33.86 kB / 0.5249 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3692, allocations: 0 / 0.5249 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/0.3693, allocations: 25.09 kB / 0.5249 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.3693, allocations: 3.219 kB / 0.5249 GB, free: 15.86 MB / 398.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 (11): * Single equations (assignments): 11 * 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.000102/0.3694, allocations: 131.5 kB / 0.525 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.3694, allocations: 10.78 kB / 0.525 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003855/0.3698, allocations: 157.8 kB / 0.5252 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.3698, allocations: 3.938 kB / 0.5252 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3698, allocations: 4.609 kB / 0.5252 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3698, allocations: 4.094 kB / 0.5252 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007029/0.3706, allocations: 469.4 kB / 0.5256 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3706, allocations: 0 / 0.5256 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.3707, allocations: 30.27 kB / 0.5257 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.3707, allocations: 5.312 kB / 0.5257 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.3707, allocations: 2.812 kB / 0.5257 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3707, allocations: 0.8438 kB / 0.5257 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3707, allocations: 1.594 kB / 0.5257 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003779/0.3711, allocations: 264.6 kB / 0.5259 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/0.3712, allocations: 85.03 kB / 0.526 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.3712, allocations: 2.859 kB / 0.526 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.715e-05/0.3713, allocations: 13.36 kB / 0.526 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.3714, allocations: 8.406 kB / 0.526 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.3714, allocations: 3.359 kB / 0.526 GB, free: 14.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001391/0.3715, allocations: 155 kB / 0.5262 GB, free: 14.87 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3715, allocations: 4 kB / 0.5262 GB, free: 14.87 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.3718, allocations: 22.77 kB / 0.5262 GB, free: 14.86 MB / 398.1 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 () * Number of clocked 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 (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.001037/0.3728, allocations: 460.7 kB / 0.5266 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003424/0.3732, allocations: 107 kB / 0.5268 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3732, allocations: 0 / 0.5268 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.3733, allocations: 60.66 kB / 0.5268 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.3738, allocations: 29.28 kB / 0.5268 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005847/0.3744, allocations: 306.6 kB / 0.5271 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.3747, allocations: 0.7128 MB / 0.5278 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.896e-05/0.3747, allocations: 16.2 kB / 0.5278 GB, free: 13.65 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3747, allocations: 0 / 0.5278 GB, free: 13.65 MB / 398.1 MB Notification: Performance of Templates: time 0.004039/0.3788, allocations: 1.938 MB / 0.5297 GB, free: 12.79 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches