Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.001301, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.363/1.363, allocations: 222.9 MB / 241.6 MB, free: 10.99 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.0009659/0.0009656, allocations: 101.8 kB / 291.9 MB, free: 10.95 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.3532/0.3532, allocations: 44.13 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 59.91 kB / 457.7 MB, free: 2.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3813, allocations: 60.8 MB / 0.5064 GB, free: 38.29 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.003188/0.3846, allocations: 1.678 MB / 0.508 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.3859, allocations: 1.019 MB / 0.509 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.451e-05/0.386, allocations: 3.938 kB / 0.509 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.3862, allocations: 20.98 kB / 0.509 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.3864, allocations: 34.78 kB / 0.5091 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.3867, allocations: 114.4 kB / 0.5092 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.3868, allocations: 60.73 kB / 0.5092 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.273e-05/0.3869, allocations: 13.09 kB / 0.5093 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.479e-05/0.387, allocations: 28.45 kB / 0.5093 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.3871, allocations: 31.2 kB / 0.5093 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.3871, allocations: 3.406 kB / 0.5093 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.232e-05/0.3872, allocations: 50.41 kB / 0.5094 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.103e-05/0.3873, allocations: 16.59 kB / 0.5094 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.789e-05/0.3873, allocations: 17.89 kB / 0.5094 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.3875, allocations: 94.23 kB / 0.5095 GB, free: 36.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3875, allocations: 5.75 kB / 0.5095 GB, free: 36.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.3875, allocations: 0 / 0.5095 GB, free: 36.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.3875, allocations: 0 / 0.5095 GB, free: 36.18 MB / 378.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.0004135/0.3879, allocations: 389.9 kB / 0.5099 GB, free: 35.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.388, allocations: 8.719 kB / 0.5099 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.388, allocations: 10.56 kB / 0.5099 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.3882, allocations: 188.5 kB / 0.5101 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.3882, allocations: 3.312 kB / 0.5101 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.3882, allocations: 384 / 0.5101 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.3884, allocations: 85.91 kB / 0.5102 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3884, allocations: 4 kB / 0.5102 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.3884, allocations: 0 / 0.5102 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3884, allocations: 0 / 0.5102 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.3886, allocations: 34.91 kB / 0.5102 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000291/0.3888, allocations: 286 kB / 0.5105 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.389, allocations: 46.48 kB / 0.5105 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.244e-05/0.389, allocations: 24.23 kB / 0.5105 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.3891, allocations: 0 / 0.5105 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.3891, allocations: 34.56 kB / 0.5106 GB, free: 35.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3891, allocations: 0 / 0.5106 GB, free: 35.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007294/0.3898, allocations: 198.9 kB / 0.5108 GB, free: 35.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.3899, allocations: 80.39 kB / 0.5108 GB, free: 34.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.39, allocations: 134.8 kB / 0.511 GB, free: 34.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.39, allocations: 25.7 kB / 0.511 GB, free: 34.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.3901, allocations: 105.9 kB / 0.5111 GB, free: 34.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.3901, allocations: 25.84 kB / 0.5111 GB, free: 34.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.3902, allocations: 23.52 kB / 0.5111 GB, free: 34.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.605e-05/0.3902, allocations: 317.4 kB / 0.5114 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.3903, allocations: 32.09 kB / 0.5115 GB, free: 34.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.3905, allocations: 50.45 kB / 0.5115 GB, free: 34.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.3907, allocations: 75.8 kB / 0.5116 GB, free: 34.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3907, allocations: 0 / 0.5116 GB, free: 34.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002346/0.3909, allocations: 102 kB / 0.5117 GB, free: 34.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3909, allocations: 8.062 kB / 0.5117 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3909, allocations: 0 / 0.5117 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.391, allocations: 4 kB / 0.5117 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.3911, allocations: 28.23 kB / 0.5117 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3911, allocations: 0 / 0.5117 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.066e-05/0.3912, allocations: 16.89 kB / 0.5117 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.3912, allocations: 0 / 0.5117 GB, free: 34.23 MB / 378.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.085e-05/0.3913, allocations: 116.1 kB / 0.5118 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.3913, allocations: 2.969 kB / 0.5118 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.3916, allocations: 140 kB / 0.512 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3916, allocations: 0 / 0.512 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3916, allocations: 4 kB / 0.512 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3916, allocations: 11.3 kB / 0.512 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004057/0.392, allocations: 385 kB / 0.5124 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.392, allocations: 3.281 kB / 0.5124 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.348e-05/0.3921, allocations: 17.11 kB / 0.5124 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3921, allocations: 0 / 0.5124 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.3921, allocations: 3.938 kB / 0.5124 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.3922, allocations: 7.391 kB / 0.5124 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3922, allocations: 3.984 kB / 0.5124 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004891/0.3927, allocations: 0.7953 MB / 0.5132 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.027e-05/0.3927, allocations: 83.92 kB / 0.5133 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.3927, allocations: 4 kB / 0.5133 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.184e-05/0.3928, allocations: 8.938 kB / 0.5133 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.3928, allocations: 10.31 kB / 0.5133 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.3929, allocations: 2.875 kB / 0.5133 GB, free: 32.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.391e-05/0.3929, allocations: 106 kB / 0.5134 GB, free: 32.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3929, allocations: 0 / 0.5134 GB, free: 32.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003372/0.3933, allocations: 25.38 kB / 0.5134 GB, free: 32.73 MB / 378.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 (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.0008829/0.3942, allocations: 453.4 kB / 0.5138 GB, free: 32.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002618/0.3944, allocations: 74.56 kB / 0.5139 GB, free: 32.51 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3944, allocations: 3.938 kB / 0.5139 GB, free: 32.51 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.3946, allocations: 39.53 kB / 0.514 GB, free: 32.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.3949, allocations: 21.78 kB / 0.514 GB, free: 32.49 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004215/0.3953, allocations: 318.9 kB / 0.5143 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.3955, allocations: 0.6991 MB / 0.515 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.424e-05/0.3955, allocations: 17.45 kB / 0.515 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.3956, allocations: 16.69 kB / 0.515 GB, free: 31.49 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.3956, allocations: 0 / 0.515 GB, free: 31.49 MB / 378.7 MB Notification: Performance of Templates: time 0.003357/0.3989, allocations: 1.435 MB / 0.5164 GB, free: 31.32 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches