Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001103/0.001103, allocations: 201 kB / 18.11 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 226.5 MB / 245.4 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008106/0.0008106, allocations: 100.6 kB / 297.5 MB, free: 6.926 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4203/0.4203, allocations: 44.82 MB / 394.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.000475, allocations: 8 kB / 467.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4154, allocations: 62.96 MB / 0.5184 GB, free: 37.42 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1222/0.5377, allocations: 89.38 MB / 0.6057 GB, free: 15.97 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.538, allocations: 75.95 kB / 0.6058 GB, free: 15.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.013/0.551, allocations: 5.026 MB / 0.6107 GB, free: 10.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.551, allocations: 4 kB / 0.6107 GB, free: 10.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.5511, allocations: 4 kB / 0.6107 GB, free: 10.86 MB / 426.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.0006958/0.5518, allocations: 435.2 kB / 0.6111 GB, free: 10.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.5518, allocations: 8.031 kB / 0.6111 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.229e-05/0.5519, allocations: 8.844 kB / 0.6111 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.5523, allocations: 216 kB / 0.6113 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.5523, allocations: 4.375 kB / 0.6113 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.5524, allocations: 384 / 0.6113 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.5525, allocations: 66.17 kB / 0.6114 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.5526, allocations: 192 / 0.6114 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.5526, allocations: 3.938 kB / 0.6114 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.5526, allocations: 4 kB / 0.6114 GB, free: 10.03 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.5527, allocations: 27.92 kB / 0.6114 GB, free: 10 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005394/0.5533, allocations: 296.8 kB / 0.6117 GB, free: 9.664 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.5534, allocations: 42.56 kB / 0.6118 GB, free: 9.613 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.37e-05/0.5535, allocations: 24.88 kB / 0.6118 GB, free: 9.586 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.5535, allocations: 0 / 0.6118 GB, free: 9.586 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.5535, allocations: 38.56 kB / 0.6118 GB, free: 9.539 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.5536, allocations: 0 / 0.6118 GB, free: 9.539 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009479/0.5545, allocations: 258.5 kB / 0.6121 GB, free: 9.281 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.5546, allocations: 51.41 kB / 0.6121 GB, free: 9.219 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.5548, allocations: 199.3 kB / 0.6123 GB, free: 9.008 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.5548, allocations: 29.7 kB / 0.6123 GB, free: 8.973 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.913e-05/0.5549, allocations: 96.14 kB / 0.6124 GB, free: 8.875 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.555, allocations: 31.55 kB / 0.6125 GB, free: 8.844 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.555, allocations: 0 / 0.6125 GB, free: 8.844 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.5552, allocations: 330.8 kB / 0.6128 GB, free: 8.512 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.62e-05/0.5553, allocations: 23.98 kB / 0.6128 GB, free: 8.488 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.65e-05/0.5553, allocations: 35.92 kB / 0.6128 GB, free: 8.453 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.5555, allocations: 68.77 kB / 0.6129 GB, free: 8.383 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.5555, allocations: 0 / 0.6129 GB, free: 8.383 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002285/0.5558, allocations: 117.5 kB / 0.613 GB, free: 8.262 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.5558, allocations: 4 kB / 0.613 GB, free: 8.258 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.5558, allocations: 0 / 0.613 GB, free: 8.258 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.5558, allocations: 0 / 0.613 GB, free: 8.258 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.5559, allocations: 19.98 kB / 0.613 GB, free: 8.238 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.5559, allocations: 320 / 0.613 GB, free: 8.238 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.738e-05/0.556, allocations: 12 kB / 0.613 GB, free: 8.227 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.556, allocations: 4 kB / 0.613 GB, free: 8.223 MB / 426.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 (8): * Single equations (assignments): 8 * 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.0001222/0.5561, allocations: 133.7 kB / 0.6132 GB, free: 8.082 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.5562, allocations: 11.81 kB / 0.6132 GB, free: 8.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003241/0.5565, allocations: 127 kB / 0.6133 GB, free: 7.941 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.5565, allocations: 8 kB / 0.6133 GB, free: 7.934 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.5565, allocations: 0 / 0.6133 GB, free: 7.934 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.5566, allocations: 0 / 0.6133 GB, free: 7.934 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006498/0.5572, allocations: 419.2 kB / 0.6137 GB, free: 7.465 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.5572, allocations: 8.016 kB / 0.6137 GB, free: 7.457 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.863e-05/0.5573, allocations: 19.94 kB / 0.6137 GB, free: 7.438 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.5573, allocations: 4 kB / 0.6137 GB, free: 7.434 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.5573, allocations: 3.938 kB / 0.6137 GB, free: 7.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.5573, allocations: 7.922 kB / 0.6138 GB, free: 7.422 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.5574, allocations: 0 / 0.6138 GB, free: 7.422 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.5576, allocations: 208.2 kB / 0.6139 GB, free: 7.199 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.949e-05/0.5577, allocations: 97 kB / 0.614 GB, free: 7.086 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.5578, allocations: 3.938 kB / 0.614 GB, free: 7.082 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.211e-05/0.5579, allocations: 11.98 kB / 0.6141 GB, free: 7.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.5579, allocations: 0 / 0.6141 GB, free: 7.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.5579, allocations: 12 kB / 0.6141 GB, free: 7.059 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001502/0.5581, allocations: 150 kB / 0.6142 GB, free: 6.914 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.913e-06/0.5581, allocations: 0 / 0.6142 GB, free: 6.914 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002849/0.5584, allocations: 39.8 kB / 0.6142 GB, free: 6.875 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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.001215/0.5596, allocations: 450.6 kB / 0.6147 GB, free: 6.586 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002246/0.5599, allocations: 71.95 kB / 0.6147 GB, free: 6.516 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5599, allocations: 0 / 0.6147 GB, free: 6.516 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.449e-05/0.56, allocations: 48.12 kB / 0.6148 GB, free: 6.469 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.5603, allocations: 19.73 kB / 0.6148 GB, free: 6.453 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005216/0.5608, allocations: 266.6 kB / 0.6151 GB, free: 6.164 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.5611, allocations: 0.7043 MB / 0.6158 GB, free: 5.434 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.893e-05/0.5612, allocations: 12.66 kB / 0.6158 GB, free: 5.418 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.5612, allocations: 15.44 kB / 0.6158 GB, free: 5.406 MB / 426.7 MB Notification: Performance of SimCode: time 2.114e-06/0.5613, allocations: 0 / 0.6158 GB, free: 5.406 MB / 426.7 MB Notification: Performance of Templates: time 0.00381/0.5651, allocations: 1.369 MB / 0.6171 GB, free: 4.047 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches