Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001313, allocations: 111.3 kB / 18.45 MB, free: 4.645 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.001154/0.001154, allocations: 186.2 kB / 19.38 MB, free: 3.723 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.325/1.325, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2068/0.2068, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 59.91 kB / 471.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3812, allocations: 60.83 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.002794/0.3841, allocations: 1.625 MB / 0.5212 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.3855, allocations: 1.031 MB / 0.5222 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.353e-05/0.3855, allocations: 5.125 kB / 0.5222 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002091/0.3857, allocations: 22.81 kB / 0.5222 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.386, allocations: 41.77 kB / 0.5222 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.3863, allocations: 132.5 kB / 0.5224 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.3865, allocations: 65.52 kB / 0.5224 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3866, allocations: 18 kB / 0.5225 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.485e-05/0.3866, allocations: 24.58 kB / 0.5225 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.3868, allocations: 31.22 kB / 0.5225 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.3868, allocations: 3.906 kB / 0.5225 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.3869, allocations: 47.25 kB / 0.5226 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.987e-05/0.387, allocations: 23.66 kB / 0.5226 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.269e-05/0.387, allocations: 25.8 kB / 0.5226 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.3872, allocations: 90.16 kB / 0.5227 GB, free: 1.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3872, allocations: 0 / 0.5227 GB, free: 1.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3873, allocations: 1.25 kB / 0.5227 GB, free: 1.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.3873, allocations: 0 / 0.5227 GB, free: 1.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004194/0.3877, allocations: 385 kB / 0.5231 GB, free: 1.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.3877, allocations: 9.719 kB / 0.5231 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.3878, allocations: 7.969 kB / 0.5231 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.3879, allocations: 195.7 kB / 0.5233 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.388, allocations: 9.5 kB / 0.5233 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.388, allocations: 2.625 kB / 0.5233 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.3882, allocations: 77.3 kB / 0.5233 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3882, allocations: 0 / 0.5233 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.3882, allocations: 1.797 kB / 0.5233 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.3882, allocations: 1.312 kB / 0.5233 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.3884, allocations: 40.08 kB / 0.5234 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/0.3887, allocations: 283.1 kB / 0.5237 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.3888, allocations: 44.67 kB / 0.5237 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.115e-05/0.3889, allocations: 28.42 kB / 0.5237 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.3889, allocations: 0.9062 kB / 0.5237 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.389, allocations: 36.11 kB / 0.5238 GB, free: 448 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.389, allocations: 0 / 0.5238 GB, free: 448 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007785/0.3898, allocations: 198.2 kB / 0.524 GB, free: 372 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.3898, allocations: 83.19 kB / 0.524 GB, free: 272 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.3899, allocations: 138.4 kB / 0.5242 GB, free: 152 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.39, allocations: 25.7 kB / 0.5242 GB, free: 120 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.103e-05/0.39, allocations: 93.36 kB / 0.5243 GB, free: 28 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.39, allocations: 24.94 kB / 0.5243 GB, free: 8 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.776e-05/0.3901, allocations: 25.12 kB / 0.5243 GB, free: 15.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.3902, allocations: 319.8 kB / 0.5246 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.3903, allocations: 32.55 kB / 0.5247 GB, free: 15.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.3905, allocations: 47.06 kB / 0.5247 GB, free: 15.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.3907, allocations: 72.33 kB / 0.5248 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3907, allocations: 5.062 kB / 0.5248 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002697/0.391, allocations: 113 kB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.391, allocations: 5.656 kB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.391, allocations: 0 / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3911, allocations: 2.156 kB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.3912, allocations: 22.53 kB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3912, allocations: 0 / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.397e-05/0.3913, allocations: 14.25 kB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.3913, allocations: 5.531 kB / 0.5249 GB, free: 15.54 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 (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 9.166e-05/0.3914, allocations: 119 kB / 0.525 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.3914, allocations: 8.672 kB / 0.5251 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003335/0.3918, allocations: 117.7 kB / 0.5252 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.3918, allocations: 5.734 kB / 0.5252 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3918, allocations: 0.5938 kB / 0.5252 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3918, allocations: 9.25 kB / 0.5252 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005627/0.3924, allocations: 382 kB / 0.5255 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3924, allocations: 4 kB / 0.5256 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.659e-05/0.3925, allocations: 18.86 kB / 0.5256 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3925, allocations: 5.359 kB / 0.5256 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3925, allocations: 7.938 kB / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3925, allocations: 2.094 kB / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3925, allocations: 7.938 kB / 0.5256 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.3928, allocations: 202.8 kB / 0.5258 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/0.3929, allocations: 78.95 kB / 0.5259 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.3929, allocations: 4.547 kB / 0.5259 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.393, allocations: 14.97 kB / 0.5259 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/0.3931, allocations: 8.859 kB / 0.5259 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.3931, allocations: 5.969 kB / 0.5259 GB, free: 14.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.403e-05/0.3932, allocations: 110.5 kB / 0.526 GB, free: 14.65 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3932, allocations: 0 / 0.526 GB, free: 14.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.3934, allocations: 18.41 kB / 0.526 GB, free: 14.65 MB / 398.1 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.001054/0.3945, allocations: 447.4 kB / 0.5264 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003062/0.3948, allocations: 79.19 kB / 0.5265 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3948, allocations: 0 / 0.5265 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.395, allocations: 44.78 kB / 0.5266 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.3953, allocations: 17.91 kB / 0.5266 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004068/0.3957, allocations: 204.4 kB / 0.5268 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.396, allocations: 0.6926 MB / 0.5274 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.363e-05/0.3961, allocations: 18.62 kB / 0.5275 GB, free: 13.52 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3961, allocations: 0 / 0.5275 GB, free: 13.52 MB / 398.1 MB Notification: Performance of Templates: time 0.004355/0.4004, allocations: 1.721 MB / 0.5291 GB, free: 12.9 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches