Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001144/0.001144, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.822/1.822, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009606/0.0009606, allocations: 82.17 kB / 261.7 MB, free: 1.688 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.2384/0.2384, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.097e-05/2.12e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1458, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4795/0.6253, allocations: 86.46 MB / 0.5504 GB, free: 8.367 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/0.6257, allocations: 69.25 kB / 0.5504 GB, free: 8.336 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01014/0.6359, allocations: 4.258 MB / 0.5546 GB, free: 4.914 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6359, allocations: 0 / 0.5546 GB, free: 4.914 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.636, allocations: 0 / 0.5546 GB, free: 4.914 MB / 362.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.0003558/0.6363, allocations: 388.2 kB / 0.555 GB, free: 4.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.6364, allocations: 12.03 kB / 0.555 GB, free: 4.488 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.6364, allocations: 16.61 kB / 0.555 GB, free: 4.473 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.6367, allocations: 210.2 kB / 0.5552 GB, free: 4.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.6367, allocations: 0 / 0.5552 GB, free: 4.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.6367, allocations: 11.75 kB / 0.5552 GB, free: 4.223 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.418e-05/0.6368, allocations: 15.94 kB / 0.5552 GB, free: 4.211 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.447e-05/0.6369, allocations: 45.25 kB / 0.5553 GB, free: 4.168 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.6369, allocations: 4 kB / 0.5553 GB, free: 4.164 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.6369, allocations: 0 / 0.5553 GB, free: 4.164 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.637, allocations: 7.922 kB / 0.5553 GB, free: 4.156 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004295/0.6374, allocations: 300.9 kB / 0.5556 GB, free: 3.848 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.082e-05/0.6375, allocations: 34.27 kB / 0.5556 GB, free: 3.812 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.013e-05/0.6375, allocations: 16.58 kB / 0.5556 GB, free: 3.797 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.6376, allocations: 3.984 kB / 0.5556 GB, free: 3.793 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.6376, allocations: 30.56 kB / 0.5556 GB, free: 3.754 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.6376, allocations: 0 / 0.5556 GB, free: 3.754 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005437/0.6381, allocations: 158.1 kB / 0.5558 GB, free: 3.613 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.6382, allocations: 51.41 kB / 0.5558 GB, free: 3.551 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.6383, allocations: 168.2 kB / 0.556 GB, free: 3.402 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.6383, allocations: 29.7 kB / 0.556 GB, free: 3.367 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.6384, allocations: 97.89 kB / 0.5561 GB, free: 3.281 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.6384, allocations: 19.7 kB / 0.5561 GB, free: 3.262 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.6384, allocations: 4 kB / 0.5561 GB, free: 3.258 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.389e-05/0.6385, allocations: 326.3 kB / 0.5565 GB, free: 2.938 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.139e-05/0.6385, allocations: 19.31 kB / 0.5565 GB, free: 2.926 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.733e-05/0.6386, allocations: 18.88 kB / 0.5565 GB, free: 2.914 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.802e-05/0.6386, allocations: 26.55 kB / 0.5565 GB, free: 2.898 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.6386, allocations: 0 / 0.5565 GB, free: 2.898 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001045/0.6387, allocations: 91.41 kB / 0.5566 GB, free: 2.816 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.6388, allocations: 4 kB / 0.5566 GB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.6388, allocations: 80 / 0.5566 GB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.6388, allocations: 0 / 0.5566 GB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.6389, allocations: 27.98 kB / 0.5566 GB, free: 2.785 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.6389, allocations: 7.938 kB / 0.5566 GB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.787e-05/0.639, allocations: 15.92 kB / 0.5567 GB, free: 2.762 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.639, allocations: 4 kB / 0.5567 GB, free: 2.758 MB / 362.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 () * 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 7.259e-05/0.6391, allocations: 104.9 kB / 0.5568 GB, free: 2.648 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.6391, allocations: 11.91 kB / 0.5568 GB, free: 2.637 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/0.6393, allocations: 102.3 kB / 0.5569 GB, free: 2.547 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.6393, allocations: 0 / 0.5569 GB, free: 2.547 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6393, allocations: 0 / 0.5569 GB, free: 2.547 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.6393, allocations: 7.953 kB / 0.5569 GB, free: 2.539 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003226/0.6397, allocations: 352 kB / 0.5572 GB, free: 2.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6397, allocations: 0 / 0.5572 GB, free: 2.191 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.922e-05/0.6398, allocations: 31.92 kB / 0.5572 GB, free: 2.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.6398, allocations: 0 / 0.5572 GB, free: 2.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.6398, allocations: 0 / 0.5572 GB, free: 2.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.6398, allocations: 0 / 0.5572 GB, free: 2.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.6398, allocations: 11.94 kB / 0.5573 GB, free: 2.148 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.64, allocations: 178.7 kB / 0.5574 GB, free: 1.977 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/0.64, allocations: 92.94 kB / 0.5575 GB, free: 1.871 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.64, allocations: 7.938 kB / 0.5575 GB, free: 1.863 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.928e-05/0.6401, allocations: 19.98 kB / 0.5575 GB, free: 1.844 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.6402, allocations: 11.94 kB / 0.5576 GB, free: 1.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.6402, allocations: 0 / 0.5576 GB, free: 1.832 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.9e-05/0.6403, allocations: 142.6 kB / 0.5577 GB, free: 1.711 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6403, allocations: 0 / 0.5577 GB, free: 1.711 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000251/0.6406, allocations: 20 kB / 0.5577 GB, free: 1.691 MB / 362.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 () * 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.000836/0.6414, allocations: 338.3 kB / 0.558 GB, free: 1.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001513/0.6416, allocations: 48.88 kB / 0.5581 GB, free: 1.379 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6416, allocations: 0 / 0.5581 GB, free: 1.379 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.932e-05/0.6416, allocations: 32.17 kB / 0.5581 GB, free: 1.355 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.6419, allocations: 18.92 kB / 0.5581 GB, free: 1.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004062/0.6423, allocations: 168.6 kB / 0.5583 GB, free: 1.168 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.6425, allocations: 0.7151 MB / 0.559 GB, free: 440 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.693e-05/0.6426, allocations: 24.94 kB / 0.559 GB, free: 416 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.203e-05/0.6427, allocations: 15.44 kB / 0.559 GB, free: 400 kB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.6427, allocations: 0 / 0.559 GB, free: 400 kB / 362.7 MB Notification: Performance of Templates: time 0.003892/0.6466, allocations: 1.223 MB / 0.5602 GB, free: 15.19 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches