Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 113.2 kB / 17.78 MB, free: 5.258 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.001078/0.001078, allocations: 185 kB / 18.72 MB, free: 4.332 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.384/1.384, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2265/0.2265, allocations: 44.18 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 67.91 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3752, allocations: 60.82 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.002786/0.3781, allocations: 1.647 MB / 0.5205 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007123/0.3788, allocations: 421 kB / 0.5209 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.951e-05/0.3789, allocations: 1.344 kB / 0.5209 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002639/0.3791, allocations: 61.23 kB / 0.521 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002395/0.3794, allocations: 60.36 kB / 0.5211 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.3798, allocations: 133.3 kB / 0.5212 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.38, allocations: 75.7 kB / 0.5213 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.3801, allocations: 19.23 kB / 0.5213 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.808e-05/0.3802, allocations: 27.97 kB / 0.5213 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.3803, allocations: 54 kB / 0.5214 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.3803, allocations: 4.719 kB / 0.5214 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.3805, allocations: 51.16 kB / 0.5214 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.084e-05/0.3805, allocations: 19.91 kB / 0.5214 GB, free: 2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.282e-05/0.3806, allocations: 30.91 kB / 0.5215 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.3808, allocations: 107.3 kB / 0.5216 GB, free: 1.934 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3808, allocations: 0 / 0.5216 GB, free: 1.934 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3808, allocations: 0 / 0.5216 GB, free: 1.934 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.3808, allocations: 3.938 kB / 0.5216 GB, free: 1.93 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.0004413/0.3812, allocations: 406.6 kB / 0.522 GB, free: 1.527 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3813, allocations: 9.5 kB / 0.522 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.3813, allocations: 13.92 kB / 0.522 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.3815, allocations: 194.9 kB / 0.5222 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.3815, allocations: 6.641 kB / 0.5222 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.3815, allocations: 10.8 kB / 0.5222 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.3817, allocations: 63.17 kB / 0.5222 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.3817, allocations: 1.516 kB / 0.5222 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.3818, allocations: 3.938 kB / 0.5222 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3818, allocations: 1.219 kB / 0.5222 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.3819, allocations: 44.5 kB / 0.5223 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.3823, allocations: 309.5 kB / 0.5226 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.3825, allocations: 53.44 kB / 0.5226 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.205e-05/0.3826, allocations: 25.92 kB / 0.5227 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.3826, allocations: 4 kB / 0.5227 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/0.3827, allocations: 32.62 kB / 0.5227 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 9.71e-07/0.3827, allocations: 3.938 kB / 0.5227 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001396/0.3841, allocations: 390.3 kB / 0.5231 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.3841, allocations: 57.69 kB / 0.5231 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.3843, allocations: 175.4 kB / 0.5233 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.3843, allocations: 25.7 kB / 0.5233 GB, free: 0.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.127e-05/0.3843, allocations: 100.3 kB / 0.5234 GB, free: 416 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.3844, allocations: 39.09 kB / 0.5234 GB, free: 384 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.3844, allocations: 27.25 kB / 0.5235 GB, free: 360 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.405e-05/0.3845, allocations: 320.7 kB / 0.5238 GB, free: 36 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.3846, allocations: 43.83 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.3847, allocations: 48.33 kB / 0.5239 GB, free: 8 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.385, allocations: 96.77 kB / 0.524 GB, free: 15.97 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.385, allocations: 1.469 kB / 0.524 GB, free: 15.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003115/0.3853, allocations: 146.4 kB / 0.5241 GB, free: 15.9 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3853, allocations: 8.5 kB / 0.5241 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3853, allocations: 0 / 0.5241 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.3854, allocations: 1.859 kB / 0.5241 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.3855, allocations: 28.73 kB / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3855, allocations: 0.5625 kB / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.831e-05/0.3856, allocations: 13.06 kB / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.3856, allocations: 3.562 kB / 0.5242 GB, free: 15.89 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.0001105/0.3857, allocations: 132.2 kB / 0.5243 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.3857, allocations: 17.88 kB / 0.5243 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004162/0.3862, allocations: 164.7 kB / 0.5245 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3862, allocations: 1.375 kB / 0.5245 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3862, allocations: 0.5625 kB / 0.5245 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3862, allocations: 0.6562 kB / 0.5245 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006152/0.3868, allocations: 473.7 kB / 0.5249 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3868, allocations: 0 / 0.5249 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.221e-05/0.3869, allocations: 25.62 kB / 0.5249 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.3869, allocations: 1.219 kB / 0.5249 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.3869, allocations: 6.891 kB / 0.5249 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.387, allocations: 10.11 kB / 0.5249 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.387, allocations: 5.188 kB / 0.525 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/0.3873, allocations: 248.8 kB / 0.5252 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.653e-05/0.3874, allocations: 90.03 kB / 0.5253 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.3874, allocations: 6.297 kB / 0.5253 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.108e-05/0.3875, allocations: 8.328 kB / 0.5253 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.41e-05/0.3876, allocations: 12.91 kB / 0.5253 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.3876, allocations: 11.53 kB / 0.5253 GB, free: 14.97 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001286/0.3877, allocations: 136.3 kB / 0.5254 GB, free: 14.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3878, allocations: 0 / 0.5254 GB, free: 14.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.388, allocations: 21.97 kB / 0.5255 GB, free: 14.88 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.001138/0.3892, allocations: 467.8 kB / 0.5259 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003518/0.3895, allocations: 106.9 kB / 0.526 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3895, allocations: 0 / 0.526 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.3897, allocations: 59.22 kB / 0.5261 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.3901, allocations: 15.77 kB / 0.5261 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005511/0.3907, allocations: 266.1 kB / 0.5263 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.391, allocations: 0.7125 MB / 0.527 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.82e-05/0.391, allocations: 19.33 kB / 0.5271 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.138e-05/0.3911, allocations: 18.83 kB / 0.5271 GB, free: 13.69 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3911, allocations: 0 / 0.5271 GB, free: 13.69 MB / 398.1 MB Notification: Performance of Templates: time 0.004854/0.396, allocations: 1.535 MB / 0.5286 GB, free: 13.07 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches