Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001/0.001, allocations: 183.8 kB / 18.71 MB, free: 4.34 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.392/1.392, 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.2423/0.2423, allocations: 44.18 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 63.89 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4312/0.4326, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.003014/0.4357, allocations: 1.642 MB / 0.5205 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007638/0.4365, allocations: 425 kB / 0.5209 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.46e-05/0.4365, allocations: 1.312 kB / 0.5209 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.4368, allocations: 63.59 kB / 0.521 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.4371, allocations: 67.14 kB / 0.5211 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.4375, allocations: 132.1 kB / 0.5212 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.4377, allocations: 79.58 kB / 0.5213 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.4378, allocations: 23.47 kB / 0.5213 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.018e-05/0.4379, allocations: 34.36 kB / 0.5213 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.4381, allocations: 49.52 kB / 0.5214 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.4381, allocations: 7.75 kB / 0.5214 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.4382, allocations: 52.61 kB / 0.5214 GB, free: 2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.629e-05/0.4383, allocations: 21.52 kB / 0.5215 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.227e-05/0.4383, allocations: 30.98 kB / 0.5215 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.4386, allocations: 112.3 kB / 0.5216 GB, free: 1.918 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4386, allocations: 4.656 kB / 0.5216 GB, free: 1.914 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4386, allocations: 1.281 kB / 0.5216 GB, free: 1.914 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.4386, allocations: 0 / 0.5216 GB, free: 1.914 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.0004772/0.4391, allocations: 410.9 kB / 0.522 GB, free: 1.516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.4391, allocations: 10.19 kB / 0.522 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.4392, allocations: 10.38 kB / 0.522 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.4393, allocations: 196.6 kB / 0.5222 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.4394, allocations: 2.5 kB / 0.5222 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.4394, allocations: 19.02 kB / 0.5222 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.4396, allocations: 68.8 kB / 0.5223 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.4396, allocations: 0 / 0.5223 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.4396, allocations: 1.094 kB / 0.5223 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.4396, allocations: 1.281 kB / 0.5223 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.4398, allocations: 34.78 kB / 0.5223 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.4401, allocations: 308.9 kB / 0.5226 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.4404, allocations: 53.2 kB / 0.5227 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.533e-05/0.4405, allocations: 29.11 kB / 0.5227 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.4405, allocations: 1.406 kB / 0.5227 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.4405, allocations: 40.58 kB / 0.5227 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.4405, allocations: 0 / 0.5227 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001488/0.442, allocations: 390.3 kB / 0.5231 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.4421, allocations: 57.5 kB / 0.5232 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.4423, allocations: 201.1 kB / 0.5233 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.4423, allocations: 29.7 kB / 0.5234 GB, free: 496 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.4424, allocations: 108.8 kB / 0.5235 GB, free: 392 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.4424, allocations: 38.88 kB / 0.5235 GB, free: 360 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.4425, allocations: 26.45 kB / 0.5235 GB, free: 336 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.994e-05/0.4425, allocations: 323.3 kB / 0.5239 GB, free: 12 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.4427, allocations: 39.45 kB / 0.5239 GB, free: 4 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.4428, allocations: 44.88 kB / 0.5239 GB, free: 15.99 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.4431, allocations: 109.6 kB / 0.524 GB, free: 15.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4431, allocations: 0 / 0.524 GB, free: 15.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000326/0.4435, allocations: 139.1 kB / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.4435, allocations: 5.719 kB / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4435, allocations: 0 / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.4435, allocations: 0.6094 kB / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.4437, allocations: 33.06 kB / 0.5242 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.4437, allocations: 1.344 kB / 0.5242 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.392e-05/0.4437, allocations: 9.859 kB / 0.5242 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.4438, allocations: 5.688 kB / 0.5242 GB, free: 15.87 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.0001164/0.4439, allocations: 128.4 kB / 0.5243 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.4439, allocations: 17.7 kB / 0.5244 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004021/0.4443, allocations: 170.1 kB / 0.5245 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.4443, allocations: 5.594 kB / 0.5245 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4444, allocations: 0.7969 kB / 0.5245 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4444, allocations: 0.5156 kB / 0.5245 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000679/0.445, allocations: 475.1 kB / 0.525 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.4451, allocations: 1.344 kB / 0.525 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.4452, allocations: 32.94 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4452, allocations: 1.656 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.4452, allocations: 2.734 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4452, allocations: 2.781 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4452, allocations: 0 / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/0.4456, allocations: 257.7 kB / 0.5253 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.4457, allocations: 85.66 kB / 0.5253 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.4457, allocations: 2.125 kB / 0.5254 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.4458, allocations: 8.688 kB / 0.5254 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.728e-05/0.4459, allocations: 20.91 kB / 0.5254 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.4459, allocations: 2.75 kB / 0.5254 GB, free: 14.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.446, allocations: 155.7 kB / 0.5255 GB, free: 14.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.446, allocations: 0 / 0.5255 GB, free: 14.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.4463, allocations: 23.47 kB / 0.5256 GB, free: 14.86 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.001103/0.4474, allocations: 459.2 kB / 0.526 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003553/0.4478, allocations: 107.4 kB / 0.5261 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4478, allocations: 0 / 0.5261 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.4479, allocations: 67.41 kB / 0.5262 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.4483, allocations: 19.92 kB / 0.5262 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005969/0.4489, allocations: 287.2 kB / 0.5265 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.4493, allocations: 0.7115 MB / 0.5271 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.346e-05/0.4494, allocations: 23.55 kB / 0.5272 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.4495, allocations: 18.48 kB / 0.5272 GB, free: 13.66 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4495, allocations: 0 / 0.5272 GB, free: 13.66 MB / 398.1 MB Notification: Performance of Templates: time 0.004475/0.454, allocations: 1.558 MB / 0.5287 GB, free: 13.02 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches