Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002474/0.002474, allocations: 176.3 kB / 16.76 MB, free: 5.047 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007517/0.0007517, allocations: 85.41 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3488/0.3488, allocations: 43.57 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004052/0.0004053, allocations: 12 kB / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1182, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2993/0.4176, allocations: 87.52 MB / 0.5654 GB, free: 14.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.4179, allocations: 69.81 kB / 0.5655 GB, free: 14.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0113/0.4292, allocations: 4.609 MB / 0.57 GB, free: 9.828 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4292, allocations: 3.828 kB / 0.57 GB, free: 9.828 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.4292, allocations: 0 / 0.57 GB, free: 9.828 MB / 394.7 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.000408/0.4297, allocations: 402.8 kB / 0.5704 GB, free: 9.387 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.4297, allocations: 8.031 kB / 0.5704 GB, free: 9.379 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.4297, allocations: 8.844 kB / 0.5704 GB, free: 9.371 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.43, allocations: 210.8 kB / 0.5706 GB, free: 9.129 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-06/0.43, allocations: 1.5 kB / 0.5706 GB, free: 9.129 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.43, allocations: 4.375 kB / 0.5706 GB, free: 9.125 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.4302, allocations: 71.95 kB / 0.5707 GB, free: 9.043 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.4302, allocations: 192 / 0.5707 GB, free: 9.043 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.4302, allocations: 12.44 kB / 0.5707 GB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.4302, allocations: 4 kB / 0.5707 GB, free: 9.027 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.4304, allocations: 51.83 kB / 0.5707 GB, free: 8.977 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.4308, allocations: 316.7 kB / 0.571 GB, free: 8.617 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.4309, allocations: 46.56 kB / 0.5711 GB, free: 8.562 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.771e-05/0.431, allocations: 36.92 kB / 0.5711 GB, free: 8.523 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.4311, allocations: 0 / 0.5711 GB, free: 8.523 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.4311, allocations: 38.88 kB / 0.5712 GB, free: 8.477 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 3.887e-06/0.4311, allocations: 6.797 kB / 0.5712 GB, free: 8.473 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007609/0.4319, allocations: 261.1 kB / 0.5714 GB, free: 8.211 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.432, allocations: 85.05 kB / 0.5715 GB, free: 8.109 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.4321, allocations: 133.8 kB / 0.5716 GB, free: 7.969 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.4321, allocations: 33.7 kB / 0.5716 GB, free: 7.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.915e-05/0.4322, allocations: 88.12 kB / 0.5717 GB, free: 7.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.4322, allocations: 23.66 kB / 0.5718 GB, free: 7.816 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.4322, allocations: 0 / 0.5718 GB, free: 7.816 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.4324, allocations: 326.8 kB / 0.5721 GB, free: 7.488 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.4325, allocations: 47.97 kB / 0.5721 GB, free: 7.441 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.4326, allocations: 61.67 kB / 0.5722 GB, free: 7.375 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.4329, allocations: 109 kB / 0.5723 GB, free: 7.266 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.4329, allocations: 0 / 0.5723 GB, free: 7.266 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002993/0.4332, allocations: 141.5 kB / 0.5724 GB, free: 7.121 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.4332, allocations: 4 kB / 0.5724 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.4333, allocations: 4 kB / 0.5724 GB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.4333, allocations: 4 kB / 0.5724 GB, free: 7.109 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.4334, allocations: 23.97 kB / 0.5724 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.4334, allocations: 4 kB / 0.5724 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.628e-05/0.4335, allocations: 8 kB / 0.5725 GB, free: 7.074 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.4335, allocations: 8 kB / 0.5725 GB, free: 7.066 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.4336, allocations: 129.8 kB / 0.5726 GB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.4337, allocations: 7.906 kB / 0.5726 GB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003714/0.4341, allocations: 158.2 kB / 0.5727 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.4341, allocations: 4 kB / 0.5727 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4341, allocations: 0 / 0.5727 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.4341, allocations: 0 / 0.5727 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005731/0.4347, allocations: 426.4 kB / 0.5732 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.4347, allocations: 0 / 0.5732 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.531e-05/0.4348, allocations: 31.86 kB / 0.5732 GB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.4348, allocations: 0.9375 kB / 0.5732 GB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.4348, allocations: 0 / 0.5732 GB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.4348, allocations: 7.938 kB / 0.5732 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4348, allocations: 4 kB / 0.5732 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.4352, allocations: 231.4 kB / 0.5734 GB, free: 6 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.357e-05/0.4352, allocations: 93 kB / 0.5735 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.4353, allocations: 0 / 0.5735 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.382e-05/0.4354, allocations: 19.92 kB / 0.5735 GB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.4354, allocations: 8 kB / 0.5735 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.4354, allocations: 0 / 0.5735 GB, free: 5.863 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.243e-05/0.4355, allocations: 116.8 kB / 0.5736 GB, free: 5.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4355, allocations: 4 kB / 0.5736 GB, free: 5.746 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002732/0.4358, allocations: 35.92 kB / 0.5737 GB, free: 5.711 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001005/0.4368, allocations: 457.4 kB / 0.5741 GB, free: 5.359 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003009/0.4371, allocations: 111.9 kB / 0.5742 GB, free: 5.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4371, allocations: 0 / 0.5742 GB, free: 5.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.4373, allocations: 59.91 kB / 0.5743 GB, free: 5.191 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.4376, allocations: 11.98 kB / 0.5743 GB, free: 5.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004697/0.438, allocations: 211.3 kB / 0.5745 GB, free: 4.953 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.4383, allocations: 0.7043 MB / 0.5752 GB, free: 4.223 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.184e-05/0.4384, allocations: 20.64 kB / 0.5752 GB, free: 4.199 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.064e-05/0.4385, allocations: 15.44 kB / 0.5752 GB, free: 4.184 MB / 394.7 MB Notification: Performance of SimCode: time 5.51e-07/0.4385, allocations: 0 / 0.5752 GB, free: 4.184 MB / 394.7 MB Notification: Performance of Templates: time 0.00384/0.4423, allocations: 1.473 MB / 0.5767 GB, free: 2.715 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches