Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, 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.001405/0.001405, 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.391/1.391, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.2084/0.2084, allocations: 44.18 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 63.91 kB / 471.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3738, allocations: 60.82 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.003482/0.3774, allocations: 1.641 MB / 0.5212 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000807/0.3782, allocations: 424 kB / 0.5216 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.831e-05/0.3783, allocations: 1.406 kB / 0.5216 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002666/0.3786, allocations: 48.88 kB / 0.5216 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.3789, allocations: 52.14 kB / 0.5217 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.3794, allocations: 128 kB / 0.5218 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.3796, allocations: 78.62 kB / 0.5219 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.3797, allocations: 27.36 kB / 0.5219 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.44e-05/0.3798, allocations: 26.53 kB / 0.5219 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.3799, allocations: 46.22 kB / 0.522 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.38, allocations: 7.281 kB / 0.522 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.3801, allocations: 51.83 kB / 0.522 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.066e-05/0.3802, allocations: 18.86 kB / 0.5221 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.3803, allocations: 35.06 kB / 0.5221 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.3806, allocations: 100.7 kB / 0.5222 GB, free: 1.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3806, allocations: 0 / 0.5222 GB, free: 1.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3806, allocations: 0 / 0.5222 GB, free: 1.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.3806, allocations: 0 / 0.5222 GB, free: 1.91 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.0005185/0.3811, allocations: 407.5 kB / 0.5226 GB, free: 1.512 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3812, allocations: 9.578 kB / 0.5226 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/0.3812, allocations: 8.875 kB / 0.5226 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.3814, allocations: 187.3 kB / 0.5228 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.3814, allocations: 7.766 kB / 0.5228 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.3815, allocations: 2.594 kB / 0.5228 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.3817, allocations: 68.09 kB / 0.5229 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.3817, allocations: 4 kB / 0.5229 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.3817, allocations: 1.719 kB / 0.5229 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.3817, allocations: 1.156 kB / 0.5229 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.3819, allocations: 38.84 kB / 0.5229 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.3822, allocations: 309 kB / 0.5232 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.3825, allocations: 54.16 kB / 0.5232 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.706e-05/0.3826, allocations: 24.52 kB / 0.5233 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.3826, allocations: 0.8125 kB / 0.5233 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.3827, allocations: 40.33 kB / 0.5233 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.3827, allocations: 0 / 0.5233 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001483/0.3842, allocations: 390.1 kB / 0.5237 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.3842, allocations: 56.44 kB / 0.5237 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.3844, allocations: 168.4 kB / 0.5239 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.3844, allocations: 29.7 kB / 0.5239 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.3844, allocations: 95.62 kB / 0.524 GB, free: 424 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.013e-05/0.3845, allocations: 39.08 kB / 0.5241 GB, free: 392 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.3845, allocations: 24.34 kB / 0.5241 GB, free: 372 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.392e-05/0.3846, allocations: 319.5 kB / 0.5244 GB, free: 48 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.3847, allocations: 43.34 kB / 0.5244 GB, free: 36 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.3848, allocations: 44.88 kB / 0.5245 GB, free: 24 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/0.3851, allocations: 97.69 kB / 0.5246 GB, free: 15.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3851, allocations: 0 / 0.5246 GB, free: 15.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003489/0.3855, allocations: 141.9 kB / 0.5247 GB, free: 15.92 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.3855, allocations: 5.391 kB / 0.5247 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3855, allocations: 5.188 kB / 0.5247 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.3856, allocations: 0 / 0.5247 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.3857, allocations: 30.88 kB / 0.5247 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.3857, allocations: 0.6094 kB / 0.5247 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.977e-05/0.3858, allocations: 13.42 kB / 0.5247 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.3858, allocations: 2.594 kB / 0.5247 GB, free: 15.91 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.000104/0.3859, allocations: 120.4 kB / 0.5249 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.026e-05/0.3859, allocations: 15.75 kB / 0.5249 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004025/0.3864, allocations: 167.8 kB / 0.525 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.3864, allocations: 5.562 kB / 0.525 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3864, allocations: 0 / 0.525 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.3864, allocations: 2.156 kB / 0.525 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007005/0.3871, allocations: 471.5 kB / 0.5255 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.3871, allocations: 0 / 0.5255 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.958e-05/0.3872, allocations: 26.62 kB / 0.5255 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.3872, allocations: 5.75 kB / 0.5255 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.3872, allocations: 10.38 kB / 0.5255 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3873, allocations: 0.6094 kB / 0.5255 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3873, allocations: 1.812 kB / 0.5255 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.3876, allocations: 256.3 kB / 0.5258 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/0.3877, allocations: 88.97 kB / 0.5259 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.3877, allocations: 6.375 kB / 0.5259 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.3878, allocations: 13.27 kB / 0.5259 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.3879, allocations: 7.562 kB / 0.5259 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.3879, allocations: 7.734 kB / 0.5259 GB, free: 14.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001069/0.388, allocations: 126.6 kB / 0.526 GB, free: 14.9 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.388, allocations: 2.469 kB / 0.526 GB, free: 14.9 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.3883, allocations: 25.47 kB / 0.526 GB, free: 14.89 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.001076/0.3894, allocations: 450.8 kB / 0.5265 GB, free: 14.69 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003579/0.3898, allocations: 115.5 kB / 0.5266 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3898, allocations: 4 kB / 0.5266 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.3899, allocations: 59.08 kB / 0.5266 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.3903, allocations: 19.7 kB / 0.5267 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005464/0.3909, allocations: 264.8 kB / 0.5269 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.3912, allocations: 0.7084 MB / 0.5276 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.573e-05/0.3913, allocations: 24.42 kB / 0.5276 GB, free: 13.7 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3913, allocations: 0 / 0.5276 GB, free: 13.7 MB / 398.1 MB Notification: Performance of Templates: time 0.004586/0.3959, allocations: 1.846 MB / 0.5294 GB, free: 12.95 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches