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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001302/0.001302, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001561/0.001561, allocations: 206.3 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 230.5 MB / 257.4 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2642/0.2642, allocations: 46.94 MB / 360.8 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 179] 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=5002,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=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002607/0.002607, allocations: 83.84 kB / 0.4967 GB, free: 7.012 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.467/0.4696, allocations: 66.09 MB / 0.5612 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003846/0.4734, allocations: 1.643 MB / 0.5628 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.4747, allocations: 0.5343 MB / 0.5633 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.088e-05/0.4748, allocations: 0 / 0.5633 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007483/0.4755, allocations: 459.1 kB / 0.5638 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005924/0.4761, allocations: 299.3 kB / 0.564 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004289/0.4765, allocations: 127.2 kB / 0.5642 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003532/0.4769, allocations: 171.6 kB / 0.5643 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.477, allocations: 11.98 kB / 0.5643 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.4772, allocations: 111.8 kB / 0.5645 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003373/0.4775, allocations: 259.4 kB / 0.5647 GB, free: 360 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.4775, allocations: 3.984 kB / 0.5647 GB, free: 356 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.4777, allocations: 43.92 kB / 0.5647 GB, free: 312 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.4778, allocations: 83.69 kB / 0.5648 GB, free: 228 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.445e-05/0.4779, allocations: 67.25 kB / 0.5649 GB, free: 160 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004124/0.4783, allocations: 265 kB / 0.5651 GB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4783, allocations: 4 kB / 0.5651 GB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4783, allocations: 7.938 kB / 0.5652 GB, free: 15.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.4783, allocations: 0 / 0.5652 GB, free: 15.89 MB / 414.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.0008693/0.4792, allocations: 0.5815 MB / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.4792, allocations: 8.031 kB / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.465e-05/0.4793, allocations: 48.61 kB / 0.5658 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.4796, allocations: 246.8 kB / 0.566 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.4797, allocations: 384 / 0.566 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.4797, allocations: 4.375 kB / 0.566 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.4799, allocations: 58.22 kB / 0.5661 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.4799, allocations: 192 / 0.5661 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.4799, allocations: 15.94 kB / 0.5661 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.4799, allocations: 3.938 kB / 0.5661 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.48, allocations: 31.97 kB / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005398/0.4806, allocations: 328.4 kB / 0.5664 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.4807, allocations: 42.59 kB / 0.5665 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.186e-05/0.4808, allocations: 36.77 kB / 0.5665 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.4808, allocations: 0 / 0.5665 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.4808, allocations: 38.56 kB / 0.5665 GB, free: 14.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.4808, allocations: 0 / 0.5665 GB, free: 14.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009628/0.4818, allocations: 296.5 kB / 0.5668 GB, free: 14.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.4818, allocations: 51.41 kB / 0.5669 GB, free: 13.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009882/0.4828, allocations: 0.8652 MB / 0.5677 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.4829, allocations: 25.7 kB / 0.5677 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.483, allocations: 208.1 kB / 0.5679 GB, free: 12.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.4831, allocations: 31.73 kB / 0.568 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/0.4831, allocations: 21.72 kB / 0.568 GB, free: 12.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.4834, allocations: 366.7 kB / 0.5683 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.4835, allocations: 31.97 kB / 0.5684 GB, free: 12.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.767e-05/0.4836, allocations: 28.05 kB / 0.5684 GB, free: 12.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.4838, allocations: 80.8 kB / 0.5685 GB, free: 12.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.4838, allocations: 0 / 0.5685 GB, free: 12.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003176/0.4841, allocations: 149.3 kB / 0.5686 GB, free: 12.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.4841, allocations: 8 kB / 0.5686 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.4841, allocations: 0 / 0.5686 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.4842, allocations: 4 kB / 0.5686 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.4843, allocations: 19.98 kB / 0.5687 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.4843, allocations: 0 / 0.5687 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.505e-05/0.4844, allocations: 12.2 kB / 0.5687 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.4844, allocations: 4 kB / 0.5687 GB, free: 12.11 MB / 414.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.0002064/0.4846, allocations: 217.7 kB / 0.5689 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.358e-05/0.4846, allocations: 39.72 kB / 0.5689 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003871/0.485, allocations: 185.5 kB / 0.5691 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.485, allocations: 4 kB / 0.5691 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.485, allocations: 0 / 0.5691 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.485, allocations: 0 / 0.5691 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006843/0.4857, allocations: 442.1 kB / 0.5695 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.4857, allocations: 3.938 kB / 0.5695 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.736e-05/0.4858, allocations: 15.98 kB / 0.5695 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.4858, allocations: 8 kB / 0.5695 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.4858, allocations: 0 / 0.5695 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4858, allocations: 0 / 0.5695 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4858, allocations: 0 / 0.5695 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.4862, allocations: 247.1 kB / 0.5698 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.067e-05/0.4863, allocations: 39.7 kB / 0.5698 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.4863, allocations: 0 / 0.5698 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.4864, allocations: 12 kB / 0.5698 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.4864, allocations: 3.984 kB / 0.5698 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.4864, allocations: 4 kB / 0.5698 GB, free: 10.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006841/0.4871, allocations: 0.6627 MB / 0.5705 GB, free: 10.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4871, allocations: 0 / 0.5705 GB, free: 10.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.4874, allocations: 20 kB / 0.5705 GB, free: 10.15 MB / 414.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.001617/0.489, allocations: 432.3 kB / 0.5709 GB, free: 9.875 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003095/0.4893, allocations: 79.94 kB / 0.571 GB, free: 9.797 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4893, allocations: 0 / 0.571 GB, free: 9.797 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.4894, allocations: 39.91 kB / 0.571 GB, free: 9.758 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.4899, allocations: 25.95 kB / 0.5711 GB, free: 9.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.4913, allocations: 0.8259 MB / 0.5719 GB, free: 8.879 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.4916, allocations: 224.1 kB / 0.5721 GB, free: 8.637 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.55e-05/0.4916, allocations: 8.312 kB / 0.5721 GB, free: 8.629 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.203e-05/0.4917, allocations: 15.42 kB / 0.5721 GB, free: 8.617 MB / 414.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4917, allocations: 0 / 0.5721 GB, free: 8.617 MB / 414.1 MB Notification: Performance of Templates: time 0.006028/0.4977, allocations: 1.8 MB / 0.5739 GB, free: 6.828 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.426732378080487]