Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 109.4 kB / 18.45 MB, free: 4.621 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.001325/0.001325, allocations: 184.1 kB / 19.38 MB, free: 3.699 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.374/1.374, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2134/0.2134, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.84 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3774, allocations: 60.82 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003091/0.3806, allocations: 1.648 MB / 0.5212 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007335/0.3813, allocations: 423.6 kB / 0.5216 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.555e-05/0.3814, allocations: 1.25 kB / 0.5216 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002475/0.3817, allocations: 43.23 kB / 0.5216 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002178/0.3819, allocations: 58.98 kB / 0.5217 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.3822, allocations: 129.6 kB / 0.5218 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.3824, allocations: 72.44 kB / 0.5219 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3825, allocations: 23.77 kB / 0.5219 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.661e-05/0.3826, allocations: 30.62 kB / 0.5219 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.3827, allocations: 42.62 kB / 0.522 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.3827, allocations: 7.219 kB / 0.522 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.3829, allocations: 48.55 kB / 0.522 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.811e-05/0.383, allocations: 23.72 kB / 0.5221 GB, free: 2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.383, allocations: 30.55 kB / 0.5221 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.3832, allocations: 95.44 kB / 0.5222 GB, free: 1.938 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3832, allocations: 1.25 kB / 0.5222 GB, free: 1.938 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3832, allocations: 0 / 0.5222 GB, free: 1.938 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.3832, allocations: 4 kB / 0.5222 GB, free: 1.934 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.0004633/0.3837, allocations: 402.8 kB / 0.5226 GB, free: 1.539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3838, allocations: 10.12 kB / 0.5226 GB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.3838, allocations: 10.28 kB / 0.5226 GB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.384, allocations: 186.2 kB / 0.5228 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.384, allocations: 7.406 kB / 0.5228 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.384, allocations: 1.938 kB / 0.5228 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.3842, allocations: 68.7 kB / 0.5228 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.3842, allocations: 5 kB / 0.5228 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.3842, allocations: 0 / 0.5228 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3842, allocations: 5.156 kB / 0.5229 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.3844, allocations: 39.72 kB / 0.5229 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003518/0.3847, allocations: 301.8 kB / 0.5232 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.385, allocations: 61.45 kB / 0.5232 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.438e-05/0.3851, allocations: 24.06 kB / 0.5233 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.3851, allocations: 1.734 kB / 0.5233 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.357e-05/0.3851, allocations: 31.62 kB / 0.5233 GB, free: 0.875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.3851, allocations: 0 / 0.5233 GB, free: 0.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.00143/0.3865, allocations: 398 kB / 0.5237 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.3866, allocations: 57.31 kB / 0.5237 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.3867, allocations: 163.5 kB / 0.5239 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.3867, allocations: 30.83 kB / 0.5239 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.178e-05/0.3868, allocations: 94.28 kB / 0.524 GB, free: 452 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.3868, allocations: 34.95 kB / 0.524 GB, free: 424 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.3869, allocations: 26.94 kB / 0.5241 GB, free: 400 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.236e-05/0.3869, allocations: 325.3 kB / 0.5244 GB, free: 72 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.3871, allocations: 40.8 kB / 0.5244 GB, free: 64 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.3872, allocations: 44.55 kB / 0.5245 GB, free: 52 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/0.3874, allocations: 96.66 kB / 0.5245 GB, free: 16 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3874, allocations: 0 / 0.5245 GB, free: 16 kB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003584/0.3878, allocations: 150.4 kB / 0.5247 GB, free: 15.94 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.3878, allocations: 5.062 kB / 0.5247 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.3878, allocations: 1.219 kB / 0.5247 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3879, allocations: 0.9844 kB / 0.5247 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.388, allocations: 28.59 kB / 0.5247 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.388, allocations: 2 kB / 0.5247 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.911e-05/0.3881, allocations: 11.75 kB / 0.5247 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.3881, allocations: 4.656 kB / 0.5247 GB, free: 15.93 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.0001062/0.3882, allocations: 123.5 kB / 0.5249 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.3883, allocations: 16.08 kB / 0.5249 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003975/0.3887, allocations: 169.1 kB / 0.525 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.3887, allocations: 7.938 kB / 0.525 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.3887, allocations: 2.812 kB / 0.525 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3887, allocations: 0.5625 kB / 0.525 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006818/0.3894, allocations: 465.8 kB / 0.5255 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.3894, allocations: 1.312 kB / 0.5255 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.3895, allocations: 33.61 kB / 0.5255 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3895, allocations: 2.281 kB / 0.5255 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.3895, allocations: 1.625 kB / 0.5255 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.3895, allocations: 1.469 kB / 0.5255 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.3895, allocations: 2.109 kB / 0.5255 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003814/0.3899, allocations: 259.7 kB / 0.5258 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-05/0.39, allocations: 85.31 kB / 0.5259 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.39, allocations: 2.359 kB / 0.5259 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.468e-05/0.3901, allocations: 12.8 kB / 0.5259 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/0.3902, allocations: 8.234 kB / 0.5259 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.3902, allocations: 4.172 kB / 0.5259 GB, free: 15.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001064/0.3903, allocations: 129.4 kB / 0.526 GB, free: 14.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3903, allocations: 1.219 kB / 0.526 GB, free: 14.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.3906, allocations: 25.72 kB / 0.526 GB, free: 14.92 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.001064/0.3916, allocations: 455.8 kB / 0.5265 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003421/0.392, allocations: 112.6 kB / 0.5266 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.392, allocations: 0 / 0.5266 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.3922, allocations: 59.5 kB / 0.5266 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.3925, allocations: 30.45 kB / 0.5267 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005361/0.3931, allocations: 261.9 kB / 0.5269 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.3934, allocations: 0.7079 MB / 0.5276 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.684e-05/0.3935, allocations: 17.05 kB / 0.5276 GB, free: 13.73 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3935, allocations: 0 / 0.5276 GB, free: 13.73 MB / 398.1 MB Notification: Performance of Templates: time 0.004002/0.3975, allocations: 1.856 MB / 0.5294 GB, free: 12.98 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches