Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 108.1 kB / 18.45 MB, free: 4.602 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.0014/0.0014, allocations: 180.2 kB / 19.38 MB, free: 3.684 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.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.2124/0.2124, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 64.05 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3691, allocations: 60.82 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003186/0.3723, allocations: 1.619 MB / 0.5212 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007728/0.3731, allocations: 421.9 kB / 0.5216 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.63e-05/0.3732, allocations: 5.062 kB / 0.5216 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007898/0.374, allocations: 449.7 kB / 0.522 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005105/0.3745, allocations: 256.5 kB / 0.5222 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004404/0.375, allocations: 135.8 kB / 0.5224 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003043/0.3753, allocations: 158.2 kB / 0.5225 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.3754, allocations: 18.39 kB / 0.5225 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.3756, allocations: 102.5 kB / 0.5226 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003168/0.3759, allocations: 210 kB / 0.5228 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.376, allocations: 2.75 kB / 0.5228 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.3761, allocations: 39.47 kB / 0.5229 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.3762, allocations: 81.05 kB / 0.523 GB, free: 2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.485e-05/0.3763, allocations: 95.25 kB / 0.5231 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003408/0.3766, allocations: 250.8 kB / 0.5233 GB, free: 1.812 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3766, allocations: 0.8438 kB / 0.5233 GB, free: 1.812 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3767, allocations: 5.219 kB / 0.5233 GB, free: 1.809 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.3767, allocations: 0 / 0.5233 GB, free: 1.809 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.0006495/0.3773, allocations: 0.6307 MB / 0.5239 GB, free: 1.254 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.3774, allocations: 9.562 kB / 0.5239 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.038e-05/0.3774, allocations: 43.48 kB / 0.524 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.3777, allocations: 292.1 kB / 0.5242 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.3777, allocations: 2.344 kB / 0.5242 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.381e-05/0.3777, allocations: 6.594 kB / 0.5242 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.3779, allocations: 50.58 kB / 0.5243 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3779, allocations: 0 / 0.5243 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.3779, allocations: 2.438 kB / 0.5243 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3779, allocations: 4 kB / 0.5243 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.858e-05/0.378, allocations: 26.7 kB / 0.5243 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004688/0.3785, allocations: 389.4 kB / 0.5247 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.3787, allocations: 43.47 kB / 0.5247 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.007e-05/0.3788, allocations: 15.03 kB / 0.5248 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.3788, allocations: 5.188 kB / 0.5248 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.3789, allocations: 35.59 kB / 0.5248 GB, free: 496 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.3789, allocations: 8.906 kB / 0.5248 GB, free: 488 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006023/0.3795, allocations: 213.7 kB / 0.525 GB, free: 372 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.3795, allocations: 51.41 kB / 0.5251 GB, free: 308 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009549/0.3805, allocations: 0.8657 MB / 0.5259 GB, free: 15.97 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.3805, allocations: 27.27 kB / 0.5259 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.3807, allocations: 216.6 kB / 0.5261 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.3808, allocations: 20.27 kB / 0.5262 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.3808, allocations: 18.39 kB / 0.5262 GB, free: 15.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.381, allocations: 358.4 kB / 0.5265 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.19e-05/0.3811, allocations: 17.98 kB / 0.5265 GB, free: 15.39 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.655e-05/0.3811, allocations: 23.14 kB / 0.5266 GB, free: 15.38 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.3813, allocations: 48.83 kB / 0.5266 GB, free: 15.35 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.3813, allocations: 0 / 0.5266 GB, free: 15.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002247/0.3815, allocations: 114.6 kB / 0.5267 GB, free: 15.28 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3815, allocations: 5.375 kB / 0.5267 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3816, allocations: 288 / 0.5267 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.3816, allocations: 5.219 kB / 0.5267 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.098e-05/0.3817, allocations: 18.36 kB / 0.5267 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3817, allocations: 0 / 0.5267 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.947e-05/0.3817, allocations: 10.86 kB / 0.5267 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.3817, allocations: 1.656 kB / 0.5267 GB, free: 15.26 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 (5): * Single equations (assignments): 5 * 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.0002251/0.382, allocations: 209.7 kB / 0.5269 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.076e-05/0.382, allocations: 45.64 kB / 0.527 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003064/0.3824, allocations: 129.9 kB / 0.5271 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3824, allocations: 5.312 kB / 0.5271 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.3824, allocations: 0 / 0.5271 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3824, allocations: 9.469 kB / 0.5271 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006128/0.383, allocations: 456.7 kB / 0.5276 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.383, allocations: 0 / 0.5276 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.038e-05/0.3831, allocations: 9.531 kB / 0.5276 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.3831, allocations: 1.219 kB / 0.5276 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.3831, allocations: 11.92 kB / 0.5276 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3831, allocations: 5.312 kB / 0.5276 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3831, allocations: 0 / 0.5276 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.3834, allocations: 210.8 kB / 0.5278 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-05/0.3835, allocations: 104.7 kB / 0.5279 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.3835, allocations: 5.438 kB / 0.5279 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.034e-05/0.3836, allocations: 6.641 kB / 0.5279 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.3837, allocations: 6.656 kB / 0.5279 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.3837, allocations: 1.438 kB / 0.5279 GB, free: 14.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006839/0.3844, allocations: 0.6501 MB / 0.5285 GB, free: 13.95 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3844, allocations: 0 / 0.5285 GB, free: 13.95 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.3846, allocations: 25.75 kB / 0.5286 GB, free: 13.94 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 (5): * Single equations (assignments): 5 * 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.0009842/0.3856, allocations: 391.5 kB / 0.5289 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002195/0.3859, allocations: 52.31 kB / 0.529 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3859, allocations: 0 / 0.529 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.099e-05/0.386, allocations: 24.14 kB / 0.529 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.3864, allocations: 28.23 kB / 0.529 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.3878, allocations: 0.8095 MB / 0.5298 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004889/0.3883, allocations: 0.8246 MB / 0.5306 GB, free: 12.49 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.3883, allocations: 12.75 kB / 0.5307 GB, free: 12.49 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3883, allocations: 0 / 0.5307 GB, free: 12.49 MB / 398.1 MB Notification: Performance of Templates: time 0.007814/0.3961, allocations: 3.675 MB / 0.5342 GB, free: 10.53 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches