Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6,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.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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002305/0.002305, allocations: 122.8 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.00192/0.00192, allocations: 198 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.514/1.514, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2338/0.2338, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 75.88 kB / 481.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.405, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003422/0.4085, allocations: 1.66 MB / 0.5326 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.4097, allocations: 0.548 MB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.932e-05/0.4098, allocations: 1.188 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005936/0.4104, allocations: 467.9 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004988/0.4109, allocations: 285.1 kB / 0.5339 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.4112, allocations: 134.1 kB / 0.534 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000258/0.4115, allocations: 172.5 kB / 0.5342 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.875e-05/0.4116, allocations: 20.06 kB / 0.5342 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.4117, allocations: 102.2 kB / 0.5343 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002948/0.412, allocations: 232.2 kB / 0.5345 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.4121, allocations: 3.656 kB / 0.5345 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.036e-05/0.4122, allocations: 28.97 kB / 0.5345 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.4123, allocations: 82.69 kB / 0.5346 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.4124, allocations: 106.9 kB / 0.5347 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.4127, allocations: 262 kB / 0.535 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4127, allocations: 0 / 0.535 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.4127, allocations: 1.062 kB / 0.535 GB, free: 10.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.4128, allocations: 3.938 kB / 0.535 GB, free: 10.92 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.000815/0.4136, allocations: 0.6464 MB / 0.5356 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.4136, allocations: 9.844 kB / 0.5356 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.629e-05/0.4137, allocations: 42.78 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.414, allocations: 301.8 kB / 0.536 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.414, allocations: 1.812 kB / 0.536 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.414, allocations: 7.125 kB / 0.536 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.4142, allocations: 61.08 kB / 0.536 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.4142, allocations: 0 / 0.536 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.4142, allocations: 4 kB / 0.536 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.005e-06/0.4142, allocations: 5.5 kB / 0.536 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.4144, allocations: 37.05 kB / 0.5361 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004755/0.4148, allocations: 386.2 kB / 0.5364 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.415, allocations: 47.62 kB / 0.5365 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.25e-05/0.4151, allocations: 31.58 kB / 0.5365 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.4151, allocations: 1.031 kB / 0.5365 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.4151, allocations: 31.69 kB / 0.5365 GB, free: 9.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.4151, allocations: 0 / 0.5365 GB, free: 9.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008799/0.416, allocations: 299.7 kB / 0.5368 GB, free: 9.281 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.4161, allocations: 52.53 kB / 0.5369 GB, free: 9.219 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009084/0.417, allocations: 0.8556 MB / 0.5377 GB, free: 8.809 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.417, allocations: 29.7 kB / 0.5377 GB, free: 8.773 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.4172, allocations: 211.6 kB / 0.5379 GB, free: 8.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.4172, allocations: 23 kB / 0.538 GB, free: 8.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.06e-05/0.4173, allocations: 23.78 kB / 0.538 GB, free: 8.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.4175, allocations: 367.9 kB / 0.5383 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.4176, allocations: 34.64 kB / 0.5384 GB, free: 8.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.4177, allocations: 30.19 kB / 0.5384 GB, free: 8.168 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.4179, allocations: 71.38 kB / 0.5385 GB, free: 8.133 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.418, allocations: 5.031 kB / 0.5385 GB, free: 8.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003947/0.4184, allocations: 148.8 kB / 0.5386 GB, free: 8.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.4184, allocations: 4.812 kB / 0.5386 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4184, allocations: 0.7812 kB / 0.5386 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.4184, allocations: 0 / 0.5386 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.4186, allocations: 18.92 kB / 0.5386 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4186, allocations: 1.094 kB / 0.5386 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.617e-05/0.4187, allocations: 21.3 kB / 0.5387 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.4187, allocations: 6.375 kB / 0.5387 GB, free: 8.016 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.0002702/0.419, allocations: 210.2 kB / 0.5389 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.4191, allocations: 42.69 kB / 0.5389 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004402/0.4195, allocations: 167.8 kB / 0.5391 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4196, allocations: 5.531 kB / 0.5391 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4196, allocations: 3.938 kB / 0.5391 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.4196, allocations: 5.406 kB / 0.5391 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008057/0.4204, allocations: 0.491 MB / 0.5396 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4204, allocations: 0 / 0.5396 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.542e-05/0.4205, allocations: 19.05 kB / 0.5396 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.4205, allocations: 4 kB / 0.5396 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.4205, allocations: 5.156 kB / 0.5396 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.4205, allocations: 5.328 kB / 0.5396 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.4206, allocations: 0 / 0.5396 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004185/0.421, allocations: 243.7 kB / 0.5398 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.751e-05/0.4211, allocations: 106.3 kB / 0.5399 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.4211, allocations: 9.031 kB / 0.5399 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.4212, allocations: 13.48 kB / 0.5399 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.4213, allocations: 11.36 kB / 0.54 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.4213, allocations: 1.469 kB / 0.54 GB, free: 6.961 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008296/0.4221, allocations: 0.6484 MB / 0.5406 GB, free: 6.648 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4221, allocations: 0 / 0.5406 GB, free: 6.648 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002839/0.4224, allocations: 28.22 kB / 0.5406 GB, free: 6.641 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.001059/0.4235, allocations: 405.4 kB / 0.541 GB, free: 6.426 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002916/0.4238, allocations: 73.84 kB / 0.5411 GB, free: 6.398 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4238, allocations: 0 / 0.5411 GB, free: 6.398 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.424, allocations: 45.66 kB / 0.5411 GB, free: 6.379 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.4244, allocations: 30.91 kB / 0.5411 GB, free: 6.359 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.4257, allocations: 0.8121 MB / 0.5419 GB, free: 5.934 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.4262, allocations: 0.8302 MB / 0.5428 GB, free: 5.164 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.084e-05/0.4262, allocations: 10.48 kB / 0.5428 GB, free: 5.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.4263, allocations: 12.88 kB / 0.5428 GB, free: 5.156 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4263, allocations: 4 kB / 0.5428 GB, free: 5.152 MB / 398.1 MB Notification: Performance of Templates: time 0.005016/0.4313, allocations: 1.605 MB / 0.5443 GB, free: 3.844 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches