Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.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.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001622/0.001622, allocations: 113.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001852/0.001852, allocations: 207.8 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2378/0.2378, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001887, allocations: 80.16 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5162/0.5181, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.004392/0.5226, allocations: 2.045 MB / 0.533 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002513/0.5251, allocations: 1.123 MB / 0.5341 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002076/0.5254, allocations: 6.688 kB / 0.5341 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006487/0.526, allocations: 265.8 kB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007487/0.5269, allocations: 261.5 kB / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.5288, allocations: 0.66 MB / 0.5353 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007922/0.5296, allocations: 350.9 kB / 0.5356 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003014/0.53, allocations: 71.83 kB / 0.5357 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002659/0.5302, allocations: 151.6 kB / 0.5358 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004056/0.5306, allocations: 206.6 kB / 0.536 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.188e-05/0.5307, allocations: 10.81 kB / 0.536 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003404/0.5311, allocations: 79.31 kB / 0.5361 GB, free: 9.949 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002054/0.5313, allocations: 100.5 kB / 0.5362 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.5315, allocations: 121.7 kB / 0.5363 GB, free: 9.793 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006382/0.5321, allocations: 345.5 kB / 0.5366 GB, free: 9.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.5321, allocations: 0 / 0.5366 GB, free: 9.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.5321, allocations: 0 / 0.5366 GB, free: 9.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.5321, allocations: 1.156 kB / 0.5366 GB, free: 9.566 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001092/0.5332, allocations: 0.6636 MB / 0.5373 GB, free: 8.945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.012e-05/0.5333, allocations: 11.31 kB / 0.5373 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.5335, allocations: 51.83 kB / 0.5373 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004873/0.5339, allocations: 341.6 kB / 0.5377 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.534, allocations: 5.406 kB / 0.5377 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.942e-05/0.534, allocations: 10.75 kB / 0.5377 GB, free: 8.586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.5344, allocations: 136.4 kB / 0.5378 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.5344, allocations: 0 / 0.5378 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.5344, allocations: 5.25 kB / 0.5378 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.5345, allocations: 2.625 kB / 0.5378 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002313/0.5347, allocations: 90.41 kB / 0.5379 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008936/0.5356, allocations: 0.5133 MB / 0.5384 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002776/0.5359, allocations: 104.2 kB / 0.5385 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.536, allocations: 44.75 kB / 0.5385 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.456e-05/0.5361, allocations: 5.828 kB / 0.5385 GB, free: 7.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.5361, allocations: 39.69 kB / 0.5386 GB, free: 7.859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.774e-06/0.5361, allocations: 0.9688 kB / 0.5386 GB, free: 7.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001379/0.5375, allocations: 457.9 kB / 0.539 GB, free: 7.605 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.5376, allocations: 53.81 kB / 0.5391 GB, free: 7.543 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008731/0.5385, allocations: 0.5676 MB / 0.5396 GB, free: 7.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.5385, allocations: 30.98 kB / 0.5397 GB, free: 7.215 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.5387, allocations: 214.8 kB / 0.5399 GB, free: 7.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.723e-05/0.5388, allocations: 61.78 kB / 0.5399 GB, free: 6.965 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.449e-05/0.5389, allocations: 34.2 kB / 0.54 GB, free: 6.938 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.539, allocations: 350.8 kB / 0.5403 GB, free: 6.598 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.5392, allocations: 66.58 kB / 0.5404 GB, free: 6.566 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.5394, allocations: 68.95 kB / 0.5404 GB, free: 6.535 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.5397, allocations: 156.1 kB / 0.5406 GB, free: 6.457 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.5397, allocations: 4.75 kB / 0.5406 GB, free: 6.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004702/0.5402, allocations: 232.6 kB / 0.5408 GB, free: 6.324 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.5402, allocations: 5.188 kB / 0.5408 GB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.5402, allocations: 1.469 kB / 0.5408 GB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.5403, allocations: 0 / 0.5408 GB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.5405, allocations: 34.89 kB / 0.5408 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.5405, allocations: 1.5 kB / 0.5408 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.409e-05/0.5406, allocations: 11.95 kB / 0.5408 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.5406, allocations: 3.875 kB / 0.5409 GB, free: 6.309 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 (17): * Single equations (assignments): 17 * 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.000232/0.5408, allocations: 187.6 kB / 0.541 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.723e-05/0.5409, allocations: 42.91 kB / 0.5411 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006426/0.5416, allocations: 283.6 kB / 0.5413 GB, free: 5.961 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.5416, allocations: 2.281 kB / 0.5413 GB, free: 5.961 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.5416, allocations: 0 / 0.5413 GB, free: 5.961 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.5416, allocations: 5.062 kB / 0.5413 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.5427, allocations: 0.6784 MB / 0.542 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5427, allocations: 1.094 kB / 0.542 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.5428, allocations: 37.64 kB / 0.542 GB, free: 5.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.5428, allocations: 0.7812 kB / 0.542 GB, free: 5.402 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.5429, allocations: 2.031 kB / 0.5421 GB, free: 5.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.5429, allocations: 1.125 kB / 0.5421 GB, free: 5.402 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.5429, allocations: 9 kB / 0.5421 GB, free: 5.395 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004945/0.5434, allocations: 336.2 kB / 0.5424 GB, free: 5.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.999e-05/0.5435, allocations: 106.2 kB / 0.5425 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.5435, allocations: 1.094 kB / 0.5425 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.436e-05/0.5436, allocations: 7.406 kB / 0.5425 GB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.5437, allocations: 17.45 kB / 0.5425 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.5437, allocations: 12.8 kB / 0.5425 GB, free: 5.023 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005545/0.5443, allocations: 426.8 kB / 0.5429 GB, free: 4.809 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5443, allocations: 0 / 0.5429 GB, free: 4.809 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003335/0.5446, allocations: 53.89 kB / 0.543 GB, free: 4.793 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 (17): * Single equations (assignments): 17 * 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.001833/0.5465, allocations: 0.6792 MB / 0.5436 GB, free: 4.465 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004184/0.5469, allocations: 173.4 kB / 0.5438 GB, free: 4.387 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5469, allocations: 5 kB / 0.5438 GB, free: 4.383 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.5471, allocations: 89.86 kB / 0.5439 GB, free: 4.348 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006647/0.5478, allocations: 80.42 kB / 0.544 GB, free: 4.305 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.5491, allocations: 0.7348 MB / 0.5447 GB, free: 3.656 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.5495, allocations: 0.8338 MB / 0.5455 GB, free: 2.797 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001509/0.5497, allocations: 49.91 kB / 0.5456 GB, free: 2.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.668e-05/0.5497, allocations: 27.44 kB / 0.5456 GB, free: 2.727 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5497, allocations: 0 / 0.5456 GB, free: 2.727 MB / 398.1 MB Notification: Performance of Templates: time 0.007904/0.5577, allocations: 3.394 MB / 0.5489 GB, free: 15.34 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches