Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001109/0.001109, allocations: 118.2 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001349/0.001349, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2224/0.2224, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 72.11 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4525/0.4542, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.00347/0.4578, allocations: 1.678 MB / 0.5327 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.459, allocations: 0.551 MB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.136e-05/0.4591, allocations: 1.375 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006561/0.4598, allocations: 454.1 kB / 0.5336 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005211/0.4603, allocations: 294.7 kB / 0.5339 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003873/0.4607, allocations: 138.7 kB / 0.534 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.461, allocations: 173.1 kB / 0.5342 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.4612, allocations: 21.05 kB / 0.5342 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.4613, allocations: 114 kB / 0.5343 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002829/0.4616, allocations: 207.8 kB / 0.5345 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.4616, allocations: 10.56 kB / 0.5346 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.4618, allocations: 56.75 kB / 0.5346 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.4619, allocations: 81.94 kB / 0.5347 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.724e-05/0.462, allocations: 108 kB / 0.5348 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003948/0.4624, allocations: 270.7 kB / 0.535 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.4624, allocations: 0 / 0.535 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4624, allocations: 0 / 0.535 GB, free: 10.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.4624, allocations: 0 / 0.535 GB, free: 10.91 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009012/0.4634, allocations: 0.6493 MB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.4634, allocations: 9.594 kB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.994e-05/0.4635, allocations: 46.88 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.4639, allocations: 294.5 kB / 0.536 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.4639, allocations: 1.5 kB / 0.536 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.4639, allocations: 7.969 kB / 0.536 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.4641, allocations: 64.58 kB / 0.5361 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.4641, allocations: 0 / 0.5361 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.4641, allocations: 5.125 kB / 0.5361 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.4641, allocations: 1.062 kB / 0.5361 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.4642, allocations: 24.39 kB / 0.5361 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000728/0.465, allocations: 402.3 kB / 0.5365 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.4651, allocations: 46.55 kB / 0.5365 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.087e-05/0.4652, allocations: 16.72 kB / 0.5366 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.4652, allocations: 1.156 kB / 0.5366 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.4653, allocations: 39.59 kB / 0.5366 GB, free: 9.457 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.4653, allocations: 0 / 0.5366 GB, free: 9.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001177/0.4665, allocations: 311.4 kB / 0.5369 GB, free: 9.273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.4665, allocations: 57.38 kB / 0.5369 GB, free: 9.207 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.4677, allocations: 0.8686 MB / 0.5378 GB, free: 8.785 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.4677, allocations: 25.7 kB / 0.5378 GB, free: 8.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.4679, allocations: 229.9 kB / 0.538 GB, free: 8.555 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.468, allocations: 18.97 kB / 0.5381 GB, free: 8.539 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.468, allocations: 23.42 kB / 0.5381 GB, free: 8.516 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.4682, allocations: 359.9 kB / 0.5384 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.559e-05/0.4683, allocations: 30.56 kB / 0.5385 GB, free: 8.156 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.213e-05/0.4684, allocations: 26.73 kB / 0.5385 GB, free: 8.145 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.4685, allocations: 61.34 kB / 0.5385 GB, free: 8.113 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4686, allocations: 3.938 kB / 0.5385 GB, free: 8.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002484/0.4688, allocations: 138.6 kB / 0.5387 GB, free: 8.023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.4688, allocations: 4.938 kB / 0.5387 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.4689, allocations: 0 / 0.5387 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.4689, allocations: 5.531 kB / 0.5387 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.469, allocations: 21.89 kB / 0.5387 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/0.469, allocations: 3.938 kB / 0.5387 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.79e-05/0.4691, allocations: 7.859 kB / 0.5387 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.4691, allocations: 1.312 kB / 0.5387 GB, free: 8.004 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 (8): * Single equations (assignments): 8 * 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.0001933/0.4693, allocations: 211.1 kB / 0.5389 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.545e-05/0.4694, allocations: 43.22 kB / 0.539 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003405/0.4697, allocations: 167 kB / 0.5391 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4697, allocations: 1.062 kB / 0.5391 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.4697, allocations: 5.156 kB / 0.5391 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4697, allocations: 0 / 0.5391 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007385/0.4705, allocations: 0.4948 MB / 0.5396 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.4705, allocations: 3.938 kB / 0.5396 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.945e-05/0.4706, allocations: 18.52 kB / 0.5396 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.4706, allocations: 5.531 kB / 0.5396 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.4706, allocations: 1.344 kB / 0.5396 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.4706, allocations: 3.984 kB / 0.5396 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.4706, allocations: 1.438 kB / 0.5396 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.4709, allocations: 233.9 kB / 0.5399 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.059e-05/0.471, allocations: 118.4 kB / 0.54 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.471, allocations: 5.688 kB / 0.54 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.362e-05/0.4711, allocations: 3.219 kB / 0.54 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.4712, allocations: 12.14 kB / 0.54 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.4712, allocations: 5.781 kB / 0.54 GB, free: 6.941 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006721/0.4719, allocations: 0.6498 MB / 0.5406 GB, free: 6.629 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4719, allocations: 0 / 0.5406 GB, free: 6.629 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.4722, allocations: 33.92 kB / 0.5407 GB, free: 6.617 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001102/0.4733, allocations: 452.6 kB / 0.5411 GB, free: 6.383 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003004/0.4736, allocations: 68.23 kB / 0.5412 GB, free: 6.355 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4736, allocations: 4 kB / 0.5412 GB, free: 6.352 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.13e-05/0.4737, allocations: 38.19 kB / 0.5412 GB, free: 6.336 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.4741, allocations: 36.5 kB / 0.5412 GB, free: 6.309 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.4755, allocations: 0.8133 MB / 0.542 GB, free: 5.879 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.476, allocations: 0.8302 MB / 0.5428 GB, free: 5.109 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.101e-05/0.476, allocations: 16.8 kB / 0.5429 GB, free: 5.102 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.034e-05/0.4761, allocations: 14.5 kB / 0.5429 GB, free: 5.094 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4761, allocations: 0 / 0.5429 GB, free: 5.094 MB / 398.1 MB Notification: Performance of Templates: time 0.005441/0.4815, allocations: 1.739 MB / 0.5446 GB, free: 3.648 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches