Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 111.3 kB / 18.45 MB, free: 4.641 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.001071/0.001071, allocations: 186.2 kB / 19.38 MB, free: 3.719 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.324/1.324, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.2251/0.2251, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 59.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3792, allocations: 60.83 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002794/0.382, allocations: 1.627 MB / 0.5212 GB, free: 2.496 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.3833, allocations: 1.033 MB / 0.5222 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.833e-05/0.3834, allocations: 1.406 kB / 0.5222 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.3836, allocations: 23.19 kB / 0.5222 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002107/0.3838, allocations: 41.44 kB / 0.5222 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.3842, allocations: 132.9 kB / 0.5224 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.3843, allocations: 60.58 kB / 0.5224 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.3844, allocations: 18.89 kB / 0.5224 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.222e-05/0.3845, allocations: 28.98 kB / 0.5225 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.3846, allocations: 30.42 kB / 0.5225 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.3846, allocations: 4.125 kB / 0.5225 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.3848, allocations: 47.98 kB / 0.5226 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.101e-05/0.3848, allocations: 19.56 kB / 0.5226 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.168e-05/0.3849, allocations: 25.67 kB / 0.5226 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.3851, allocations: 94.28 kB / 0.5227 GB, free: 1.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3851, allocations: 0 / 0.5227 GB, free: 1.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.3851, allocations: 1.062 kB / 0.5227 GB, free: 1.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.3851, allocations: 0 / 0.5227 GB, free: 1.508 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.0004395/0.3855, allocations: 392 kB / 0.5231 GB, free: 1.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3856, allocations: 10.06 kB / 0.5231 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.114e-05/0.3856, allocations: 8.812 kB / 0.5231 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.3858, allocations: 187.2 kB / 0.5233 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.3858, allocations: 9.578 kB / 0.5233 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.3858, allocations: 6.891 kB / 0.5233 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.386, allocations: 77.86 kB / 0.5233 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.386, allocations: 0 / 0.5233 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3861, allocations: 4.656 kB / 0.5234 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3861, allocations: 5.188 kB / 0.5234 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.3862, allocations: 32.3 kB / 0.5234 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002912/0.3865, allocations: 287.2 kB / 0.5237 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.3866, allocations: 45.05 kB / 0.5237 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.83e-05/0.3867, allocations: 24.06 kB / 0.5237 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.3867, allocations: 0.6094 kB / 0.5237 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.3867, allocations: 37.23 kB / 0.5238 GB, free: 452 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3868, allocations: 0 / 0.5238 GB, free: 452 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007444/0.3875, allocations: 198 kB / 0.524 GB, free: 376 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.3876, allocations: 82.14 kB / 0.524 GB, free: 276 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.3877, allocations: 139.2 kB / 0.5242 GB, free: 156 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.3877, allocations: 25.7 kB / 0.5242 GB, free: 124 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.845e-05/0.3878, allocations: 97.72 kB / 0.5243 GB, free: 28 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.3878, allocations: 20.33 kB / 0.5243 GB, free: 12 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.545e-05/0.3878, allocations: 19.86 kB / 0.5243 GB, free: 15.99 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.388, allocations: 320.2 kB / 0.5246 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.3881, allocations: 37.75 kB / 0.5247 GB, free: 15.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.3882, allocations: 43.12 kB / 0.5247 GB, free: 15.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.3884, allocations: 81.28 kB / 0.5248 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3885, allocations: 0 / 0.5248 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002853/0.3887, allocations: 114 kB / 0.5249 GB, free: 15.56 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3888, allocations: 4.75 kB / 0.5249 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.3888, allocations: 0 / 0.5249 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3888, allocations: 1.938 kB / 0.5249 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.3889, allocations: 19.14 kB / 0.5249 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.3889, allocations: 4.062 kB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.417e-05/0.389, allocations: 17.34 kB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.389, allocations: 3.562 kB / 0.5249 GB, free: 15.55 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.633e-05/0.3891, allocations: 121.7 kB / 0.5251 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.3892, allocations: 8.891 kB / 0.5251 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003211/0.3895, allocations: 116.9 kB / 0.5252 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3895, allocations: 1.438 kB / 0.5252 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3895, allocations: 0.7031 kB / 0.5252 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3895, allocations: 5.281 kB / 0.5252 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005261/0.39, allocations: 389.2 kB / 0.5256 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3901, allocations: 1.125 kB / 0.5256 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.324e-05/0.3901, allocations: 18.19 kB / 0.5256 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3902, allocations: 2.297 kB / 0.5256 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.3902, allocations: 7.875 kB / 0.5256 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3902, allocations: 1.406 kB / 0.5256 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3902, allocations: 4 kB / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.3905, allocations: 205.4 kB / 0.5258 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/0.3905, allocations: 80.03 kB / 0.5259 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.3906, allocations: 5.734 kB / 0.5259 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.909e-05/0.3907, allocations: 13.28 kB / 0.5259 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.3907, allocations: 13.59 kB / 0.5259 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.3907, allocations: 2.5 kB / 0.5259 GB, free: 14.74 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.989e-05/0.3908, allocations: 110 kB / 0.526 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3908, allocations: 0 / 0.526 GB, free: 14.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.3911, allocations: 26.86 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.001017/0.3921, allocations: 441.8 kB / 0.5264 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003165/0.3925, allocations: 81.27 kB / 0.5265 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3925, allocations: 1.312 kB / 0.5265 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.3926, allocations: 40.2 kB / 0.5266 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.3929, allocations: 18.41 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.000413/0.3934, allocations: 206.1 kB / 0.5268 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.3937, allocations: 0.6922 MB / 0.5274 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.501e-05/0.3937, allocations: 16.47 kB / 0.5275 GB, free: 13.52 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3937, allocations: 0 / 0.5275 GB, free: 13.52 MB / 398.1 MB Notification: Performance of Templates: time 0.003948/0.3977, allocations: 1.725 MB / 0.5292 GB, free: 12.92 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches