Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001161, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 202.9 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.1 MB / 222.6 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4141/0.4141, allocations: 43.5 MB / 313.5 MB, free: 8.223 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 71.03 kB / 382 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.205, allocations: 57.79 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.004695/0.2097, allocations: 1.722 MB / 441.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009923/0.2108, allocations: 351.5 kB / 441.9 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.825e-05/0.2109, allocations: 0 / 441.9 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.2112, allocations: 23.91 kB / 441.9 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.2114, allocations: 35.86 kB / 441.9 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.2118, allocations: 111.8 kB / 442.1 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.212, allocations: 71.78 kB / 442.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.2121, allocations: 20.22 kB / 442.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.5e-05/0.2122, allocations: 23.86 kB / 442.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.2123, allocations: 43.77 kB / 442.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.2124, allocations: 4 kB / 442.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.2125, allocations: 43.98 kB / 442.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.945e-05/0.2126, allocations: 27.91 kB / 442.3 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.366e-05/0.2127, allocations: 27.8 kB / 442.3 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.2129, allocations: 111.9 kB / 442.4 MB, free: 12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/0.2129, allocations: 4 kB / 442.4 MB, free: 12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2129, allocations: 0 / 442.4 MB, free: 12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.213, allocations: 0 / 442.4 MB, free: 12 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008864/0.2139, allocations: 415.1 kB / 442.8 MB, free: 11.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.977e-05/0.2139, allocations: 8.031 kB / 442.8 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.455e-05/0.214, allocations: 12.78 kB / 442.9 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.2143, allocations: 196.1 kB / 443 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.2144, allocations: 4.375 kB / 443 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.2144, allocations: 384 / 443.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.2148, allocations: 99.48 kB / 443.1 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.2148, allocations: 0 / 443.1 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.2148, allocations: 0 / 443.1 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.2149, allocations: 4 kB / 443.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003342/0.2152, allocations: 79.84 kB / 443.2 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005511/0.2158, allocations: 304.7 kB / 443.5 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.2161, allocations: 62.53 kB / 443.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.2162, allocations: 48.95 kB / 443.6 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.925e-05/0.2163, allocations: 0 / 443.6 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.796e-05/0.2163, allocations: 38.48 kB / 443.7 MB, free: 10.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.2163, allocations: 0 / 443.7 MB, free: 10.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001695/0.218, allocations: 364.9 kB / 444 MB, free: 10.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.568e-05/0.2181, allocations: 81.11 kB / 444.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.2183, allocations: 145.2 kB / 444.3 MB, free: 9.973 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.2184, allocations: 25.7 kB / 444.3 MB, free: 9.941 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.028e-05/0.2184, allocations: 96.12 kB / 444.4 MB, free: 9.844 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.2185, allocations: 23.56 kB / 444.4 MB, free: 9.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.488e-05/0.2185, allocations: 25.78 kB / 444.4 MB, free: 9.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.2187, allocations: 322.8 kB / 444.7 MB, free: 9.465 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.219, allocations: 75.86 kB / 444.8 MB, free: 9.391 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/0.2193, allocations: 81.62 kB / 444.9 MB, free: 9.305 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004916/0.2198, allocations: 140.8 kB / 445 MB, free: 9.164 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.2198, allocations: 0 / 445 MB, free: 9.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006488/0.2205, allocations: 181.4 kB / 445.2 MB, free: 8.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.2205, allocations: 8 kB / 445.2 MB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.2205, allocations: 0 / 445.2 MB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.2205, allocations: 0 / 445.2 MB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.2208, allocations: 35.95 kB / 445.2 MB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.2208, allocations: 4 kB / 445.2 MB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.2209, allocations: 27.91 kB / 445.3 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.221, allocations: 4 kB / 445.3 MB, free: 8.902 MB / 382.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.0001206/0.2211, allocations: 121.8 kB / 445.4 MB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.2211, allocations: 11.84 kB / 445.4 MB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006363/0.2218, allocations: 206.8 kB / 445.6 MB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.2218, allocations: 3.984 kB / 445.6 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2218, allocations: 0 / 445.6 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.2218, allocations: 3.938 kB / 445.6 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008581/0.2227, allocations: 470.4 kB / 446.1 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2227, allocations: 3.938 kB / 446.1 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.2229, allocations: 39.95 kB / 446.1 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2229, allocations: 0 / 446.1 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.2229, allocations: 3.938 kB / 446.1 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2229, allocations: 0 / 446.1 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2229, allocations: 0 / 446.1 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006043/0.2235, allocations: 279.3 kB / 446.4 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.823e-05/0.2236, allocations: 89 kB / 446.5 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.2236, allocations: 11.92 kB / 446.5 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.2238, allocations: 19.97 kB / 446.5 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.582e-05/0.2239, allocations: 7.984 kB / 446.5 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.2239, allocations: 4 kB / 446.5 MB, free: 7.551 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.224, allocations: 119.2 kB / 446.6 MB, free: 7.434 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.224, allocations: 0 / 446.6 MB, free: 7.434 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003226/0.2243, allocations: 39.84 kB / 446.7 MB, free: 7.395 MB / 382.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 (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.001319/0.2257, allocations: 437.5 kB / 447.1 MB, free: 6.992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006742/0.2264, allocations: 147.8 kB / 447.3 MB, free: 6.848 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2264, allocations: 0 / 447.3 MB, free: 6.848 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003078/0.2267, allocations: 83.86 kB / 447.3 MB, free: 6.766 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/0.2272, allocations: 16.3 kB / 447.4 MB, free: 6.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006381/0.2279, allocations: 235.6 kB / 447.6 MB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.2283, allocations: 0.6934 MB / 448.3 MB, free: 5.773 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.2284, allocations: 24.58 kB / 448.3 MB, free: 5.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.246e-05/0.2285, allocations: 15.44 kB / 448.3 MB, free: 5.734 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.2285, allocations: 0 / 448.3 MB, free: 5.734 MB / 382.1 MB Notification: Performance of Templates: time 0.005782/0.2343, allocations: 1.845 MB / 450.2 MB, free: 3.891 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches