Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001655/0.001655, allocations: 117.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001744/0.001744, allocations: 199.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2865/0.2865, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 75.88 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4219, allocations: 62.45 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.004005/0.4259, allocations: 1.651 MB / 0.5326 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.4282, allocations: 1.178 MB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.822e-05/0.4283, allocations: 0 / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.4286, allocations: 23.97 kB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003528/0.429, allocations: 81.75 kB / 0.5339 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003944/0.4294, allocations: 142.4 kB / 0.534 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.4296, allocations: 68.66 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.4297, allocations: 20.23 kB / 0.5341 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.535e-05/0.4298, allocations: 34.84 kB / 0.5341 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.43, allocations: 40.2 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.4301, allocations: 4.125 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.4303, allocations: 93.3 kB / 0.5343 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.32e-05/0.4304, allocations: 21.44 kB / 0.5343 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.64e-05/0.4304, allocations: 28.89 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.4308, allocations: 147.1 kB / 0.5345 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.4308, allocations: 0 / 0.5345 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4308, allocations: 5.406 kB / 0.5345 GB, free: 10.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.4308, allocations: 0 / 0.5345 GB, free: 10.96 MB / 398.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.0006665/0.4315, allocations: 406 kB / 0.5349 GB, free: 10.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.4315, allocations: 9.469 kB / 0.5349 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.888e-05/0.4316, allocations: 12 kB / 0.5349 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.4319, allocations: 193.5 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.4319, allocations: 1.75 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.432, allocations: 3.312 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.4322, allocations: 88.53 kB / 0.5351 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.4322, allocations: 3.984 kB / 0.5352 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.4322, allocations: 1.281 kB / 0.5352 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.4322, allocations: 1.219 kB / 0.5352 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.4324, allocations: 40.55 kB / 0.5352 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000466/0.4329, allocations: 286.6 kB / 0.5355 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.4331, allocations: 55.3 kB / 0.5355 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.604e-05/0.4331, allocations: 24.38 kB / 0.5355 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.4332, allocations: 0 / 0.5355 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.4332, allocations: 35.53 kB / 0.5356 GB, free: 9.805 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.4332, allocations: 1.125 kB / 0.5356 GB, free: 9.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009239/0.4342, allocations: 207.8 kB / 0.5358 GB, free: 9.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.172e-05/0.4342, allocations: 78.39 kB / 0.5359 GB, free: 9.598 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.4344, allocations: 144.2 kB / 0.536 GB, free: 9.473 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.4345, allocations: 34.81 kB / 0.536 GB, free: 9.434 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.016e-05/0.4346, allocations: 91.61 kB / 0.5361 GB, free: 9.344 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.4346, allocations: 29.92 kB / 0.5361 GB, free: 9.316 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.806e-05/0.4347, allocations: 19.47 kB / 0.5362 GB, free: 9.297 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.4348, allocations: 321 kB / 0.5365 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.435, allocations: 30.38 kB / 0.5365 GB, free: 8.965 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.4351, allocations: 51.34 kB / 0.5365 GB, free: 8.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.4354, allocations: 76.62 kB / 0.5366 GB, free: 8.891 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4354, allocations: 0 / 0.5366 GB, free: 8.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002777/0.4356, allocations: 106.5 kB / 0.5367 GB, free: 8.828 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.4357, allocations: 7.906 kB / 0.5367 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.4357, allocations: 4.031 kB / 0.5367 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.4357, allocations: 1.25 kB / 0.5367 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.4359, allocations: 22.56 kB / 0.5367 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.4359, allocations: 1.094 kB / 0.5368 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.6e-05/0.4359, allocations: 13.19 kB / 0.5368 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.436, allocations: 5.922 kB / 0.5368 GB, free: 8.805 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 9.654e-05/0.4361, allocations: 120.1 kB / 0.5369 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.771e-05/0.4361, allocations: 11.62 kB / 0.5369 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003472/0.4365, allocations: 127.2 kB / 0.537 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4365, allocations: 1.312 kB / 0.537 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.4365, allocations: 0 / 0.537 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.4365, allocations: 9.156 kB / 0.537 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005632/0.4371, allocations: 398.9 kB / 0.5374 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4371, allocations: 3.938 kB / 0.5374 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.886e-05/0.4372, allocations: 22.91 kB / 0.5374 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.4372, allocations: 1.125 kB / 0.5374 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.4372, allocations: 5.094 kB / 0.5374 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4372, allocations: 0 / 0.5374 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4372, allocations: 1.094 kB / 0.5374 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.4376, allocations: 217.3 kB / 0.5376 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.4376, allocations: 87.28 kB / 0.5377 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.4377, allocations: 5 kB / 0.5377 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.4378, allocations: 6.5 kB / 0.5377 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.4378, allocations: 6.141 kB / 0.5377 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.4379, allocations: 2.156 kB / 0.5377 GB, free: 7.895 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.438, allocations: 122.4 kB / 0.5379 GB, free: 7.793 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.438, allocations: 0 / 0.5379 GB, free: 7.793 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003202/0.4383, allocations: 38.47 kB / 0.5379 GB, free: 7.781 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.00131/0.4396, allocations: 486.9 kB / 0.5384 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003415/0.44, allocations: 83.42 kB / 0.5384 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.44, allocations: 0 / 0.5384 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.4401, allocations: 49.62 kB / 0.5385 GB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.4406, allocations: 15.45 kB / 0.5385 GB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005959/0.4412, allocations: 202.1 kB / 0.5387 GB, free: 7.305 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.4415, allocations: 0.6924 MB / 0.5394 GB, free: 6.602 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.438e-05/0.4416, allocations: 19.62 kB / 0.5394 GB, free: 6.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.283e-05/0.4417, allocations: 19.39 kB / 0.5394 GB, free: 6.578 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4417, allocations: 3.938 kB / 0.5394 GB, free: 6.574 MB / 398.1 MB Notification: Performance of Templates: time 0.005897/0.4476, allocations: 1.889 MB / 0.5413 GB, free: 5.594 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches