Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 114.4 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.001215/0.001215, allocations: 183 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.334/1.334, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2459/0.2459, allocations: 44.19 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 59.91 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3678, allocations: 60.83 MB / 0.5189 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003716/0.3715, allocations: 1.621 MB / 0.5205 GB, free: 2.473 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000811/0.3724, allocations: 427.2 kB / 0.5209 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.996e-05/0.3725, allocations: 1.094 kB / 0.5209 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007524/0.3733, allocations: 449.9 kB / 0.5213 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006492/0.374, allocations: 261.2 kB / 0.5216 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005152/0.3745, allocations: 127.7 kB / 0.5217 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004358/0.3749, allocations: 161.7 kB / 0.5219 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.3751, allocations: 20.52 kB / 0.5219 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002835/0.3754, allocations: 108.8 kB / 0.522 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000369/0.3757, allocations: 211.2 kB / 0.5222 GB, free: 2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.3758, allocations: 3.312 kB / 0.5222 GB, free: 2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.3759, allocations: 36.38 kB / 0.5222 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.376, allocations: 81.06 kB / 0.5223 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.346e-05/0.3761, allocations: 104.4 kB / 0.5224 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004379/0.3766, allocations: 260.7 kB / 0.5227 GB, free: 1.762 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.3766, allocations: 0.9375 kB / 0.5227 GB, free: 1.762 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3766, allocations: 0 / 0.5227 GB, free: 1.762 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.696e-05/0.3766, allocations: 0 / 0.5227 GB, free: 1.762 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.0008355/0.3774, allocations: 0.6485 MB / 0.5233 GB, free: 1.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3775, allocations: 10.03 kB / 0.5233 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.454e-05/0.3776, allocations: 43.72 kB / 0.5233 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.3778, allocations: 305.1 kB / 0.5236 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3778, allocations: 5.625 kB / 0.5236 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.3779, allocations: 2.688 kB / 0.5236 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.378, allocations: 63.7 kB / 0.5237 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3781, allocations: 5.031 kB / 0.5237 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.3781, allocations: 0 / 0.5237 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3781, allocations: 1.25 kB / 0.5237 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.3782, allocations: 36.7 kB / 0.5237 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.3787, allocations: 389.1 kB / 0.5241 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.3788, allocations: 44.62 kB / 0.5242 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.787e-05/0.3789, allocations: 23.3 kB / 0.5242 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.3789, allocations: 2.297 kB / 0.5242 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.3789, allocations: 40.12 kB / 0.5242 GB, free: 408 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.001e-06/0.3789, allocations: 4 kB / 0.5242 GB, free: 404 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000801/0.3797, allocations: 288.3 kB / 0.5245 GB, free: 264 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.22e-05/0.3798, allocations: 51.41 kB / 0.5245 GB, free: 200 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008735/0.3807, allocations: 0.8597 MB / 0.5254 GB, free: 15.87 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.3807, allocations: 27.08 kB / 0.5254 GB, free: 15.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.3809, allocations: 212.5 kB / 0.5256 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.3809, allocations: 27.2 kB / 0.5256 GB, free: 15.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.3809, allocations: 18.78 kB / 0.5257 GB, free: 15.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.3811, allocations: 363.8 kB / 0.526 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.3813, allocations: 26.27 kB / 0.526 GB, free: 15.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.3814, allocations: 38.59 kB / 0.5261 GB, free: 15.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.3816, allocations: 79.64 kB / 0.5261 GB, free: 15.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3816, allocations: 0 / 0.5261 GB, free: 15.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002991/0.3819, allocations: 139.8 kB / 0.5263 GB, free: 15.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3819, allocations: 10.38 kB / 0.5263 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3819, allocations: 3.984 kB / 0.5263 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3819, allocations: 0 / 0.5263 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.3821, allocations: 18.86 kB / 0.5263 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3821, allocations: 1.406 kB / 0.5263 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.629e-05/0.3822, allocations: 17.52 kB / 0.5263 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.3822, allocations: 2.125 kB / 0.5263 GB, free: 15.1 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 0.0001981/0.3824, allocations: 209.6 kB / 0.5265 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-05/0.3824, allocations: 49.59 kB / 0.5266 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.3828, allocations: 164 kB / 0.5267 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3828, allocations: 1.406 kB / 0.5267 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3828, allocations: 0 / 0.5267 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3828, allocations: 3.938 kB / 0.5267 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006272/0.3835, allocations: 497.9 kB / 0.5272 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.3835, allocations: 0 / 0.5272 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.953e-05/0.3836, allocations: 22.02 kB / 0.5272 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.3836, allocations: 1.25 kB / 0.5272 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.3836, allocations: 7.938 kB / 0.5272 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.3836, allocations: 1.312 kB / 0.5272 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3836, allocations: 3.938 kB / 0.5272 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000372/0.384, allocations: 239.9 kB / 0.5275 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.3841, allocations: 114.3 kB / 0.5276 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.3841, allocations: 9.719 kB / 0.5276 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.3843, allocations: 9.422 kB / 0.5276 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.509e-05/0.3843, allocations: 7.312 kB / 0.5276 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.3843, allocations: 1.531 kB / 0.5276 GB, free: 14.05 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008525/0.3852, allocations: 0.6446 MB / 0.5282 GB, free: 13.74 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3852, allocations: 0 / 0.5282 GB, free: 13.74 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003225/0.3855, allocations: 28.42 kB / 0.5283 GB, free: 13.73 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.001081/0.3866, allocations: 407.2 kB / 0.5287 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003351/0.387, allocations: 74.55 kB / 0.5287 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.387, allocations: 11.88 kB / 0.5287 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.3871, allocations: 41.47 kB / 0.5288 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.3876, allocations: 29.62 kB / 0.5288 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.3888, allocations: 0.7885 MB / 0.5296 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.3893, allocations: 0.8276 MB / 0.5304 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.45e-05/0.3893, allocations: 13.45 kB / 0.5304 GB, free: 12.26 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/0.3894, allocations: 12 kB / 0.5304 GB, free: 12.26 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3894, allocations: 0 / 0.5304 GB, free: 12.26 MB / 398.1 MB Notification: Performance of Templates: time 0.005103/0.3945, allocations: 1.575 MB / 0.5319 GB, free: 11.46 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches