Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 177.5 kB / 8.005 MB, free: 1.07 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.742/1.742, allocations: 205.3 MB / 213.7 MB, free: 1.746 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.0009891/0.0009891, allocations: 82.62 kB / 261.7 MB, free: 1.695 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.2259/0.2259, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.463e-05/2.454e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1473, allocations: 58.86 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4316/0.5789, allocations: 86.46 MB / 0.5504 GB, free: 8.422 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.5792, allocations: 79.23 kB / 0.5504 GB, free: 8.383 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009923/0.5892, allocations: 4.421 MB / 0.5548 GB, free: 4.816 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5892, allocations: 0 / 0.5548 GB, free: 4.816 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.5892, allocations: 0 / 0.5548 GB, free: 4.816 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.0003384/0.5896, allocations: 394.5 kB / 0.5551 GB, free: 4.395 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.5896, allocations: 8.031 kB / 0.5551 GB, free: 4.387 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/0.5897, allocations: 19.77 kB / 0.5552 GB, free: 4.367 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.5899, allocations: 202 kB / 0.5554 GB, free: 4.137 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.5899, allocations: 4 kB / 0.5554 GB, free: 4.133 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.59, allocations: 3.938 kB / 0.5554 GB, free: 4.129 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.028e-05/0.5901, allocations: 18.81 kB / 0.5554 GB, free: 4.117 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.531e-05/0.5902, allocations: 45.06 kB / 0.5554 GB, free: 4.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.5902, allocations: 3.938 kB / 0.5554 GB, free: 4.066 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.5902, allocations: 7.984 kB / 0.5554 GB, free: 4.059 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5902, allocations: 3.938 kB / 0.5554 GB, free: 4.055 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003852/0.5906, allocations: 297.9 kB / 0.5557 GB, free: 3.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.023e-05/0.5907, allocations: 45.31 kB / 0.5558 GB, free: 3.703 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.995e-05/0.5907, allocations: 16.23 kB / 0.5558 GB, free: 3.688 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.5908, allocations: 0 / 0.5558 GB, free: 3.688 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.5908, allocations: 30.56 kB / 0.5558 GB, free: 3.648 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.5908, allocations: 0 / 0.5558 GB, free: 3.648 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004824/0.5913, allocations: 161.2 kB / 0.556 GB, free: 3.508 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.093e-05/0.5913, allocations: 55.41 kB / 0.556 GB, free: 3.441 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.5915, allocations: 189.4 kB / 0.5562 GB, free: 3.273 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.5915, allocations: 25.7 kB / 0.5562 GB, free: 3.242 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.16e-05/0.5915, allocations: 105.8 kB / 0.5563 GB, free: 3.148 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.5916, allocations: 22.7 kB / 0.5563 GB, free: 3.129 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.5916, allocations: 0 / 0.5563 GB, free: 3.129 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.507e-05/0.5917, allocations: 329.6 kB / 0.5567 GB, free: 2.805 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.36e-05/0.5917, allocations: 17.88 kB / 0.5567 GB, free: 2.793 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.929e-05/0.5917, allocations: 25.8 kB / 0.5567 GB, free: 2.773 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.472e-05/0.5918, allocations: 14.81 kB / 0.5567 GB, free: 2.766 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.5918, allocations: 0 / 0.5567 GB, free: 2.766 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001167/0.5919, allocations: 98.8 kB / 0.5568 GB, free: 2.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.5919, allocations: 4 kB / 0.5568 GB, free: 2.676 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.5919, allocations: 0 / 0.5568 GB, free: 2.676 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.592, allocations: 3.938 kB / 0.5568 GB, free: 2.672 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.5921, allocations: 27.05 kB / 0.5568 GB, free: 2.648 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.5921, allocations: 3.953 kB / 0.5568 GB, free: 2.645 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.674e-05/0.5922, allocations: 19.98 kB / 0.5569 GB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.5922, allocations: 0 / 0.5569 GB, free: 2.625 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 5.721e-05/0.5923, allocations: 101 kB / 0.557 GB, free: 2.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.5923, allocations: 11.91 kB / 0.557 GB, free: 2.508 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.5925, allocations: 101.3 kB / 0.5571 GB, free: 2.422 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.5925, allocations: 4.078 kB / 0.5571 GB, free: 2.418 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.5925, allocations: 8 kB / 0.5571 GB, free: 2.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.5926, allocations: 11.92 kB / 0.5571 GB, free: 2.398 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/0.5929, allocations: 362.2 kB / 0.5574 GB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5929, allocations: 0 / 0.5574 GB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.235e-05/0.593, allocations: 23.92 kB / 0.5575 GB, free: 2.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.593, allocations: 4 kB / 0.5575 GB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.593, allocations: 0 / 0.5575 GB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.593, allocations: 4 kB / 0.5575 GB, free: 2.012 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.593, allocations: 3.953 kB / 0.5575 GB, free: 2.008 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.5931, allocations: 190.8 kB / 0.5577 GB, free: 1.824 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.5932, allocations: 96.91 kB / 0.5577 GB, free: 1.711 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.5932, allocations: 0 / 0.5577 GB, free: 1.711 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.125e-05/0.5933, allocations: 11.98 kB / 0.5578 GB, free: 1.699 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.5934, allocations: 15.89 kB / 0.5578 GB, free: 1.688 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.5934, allocations: 0 / 0.5578 GB, free: 1.688 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.022e-05/0.5935, allocations: 155.4 kB / 0.5579 GB, free: 1.559 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5935, allocations: 0 / 0.5579 GB, free: 1.559 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000221/0.5937, allocations: 27.94 kB / 0.5579 GB, free: 1.531 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.0007424/0.5945, allocations: 342.5 kB / 0.5583 GB, free: 1.246 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001249/0.5946, allocations: 55.42 kB / 0.5583 GB, free: 1.207 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5946, allocations: 0 / 0.5583 GB, free: 1.207 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.404e-05/0.5947, allocations: 27.5 kB / 0.5584 GB, free: 1.188 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.5949, allocations: 15.86 kB / 0.5584 GB, free: 1.176 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.5952, allocations: 182.4 kB / 0.5585 GB, free: 1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/0.5954, allocations: 0.7274 MB / 0.5593 GB, free: 252 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.125e-05/0.5955, allocations: 20.95 kB / 0.5593 GB, free: 232 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.5956, allocations: 19.25 kB / 0.5593 GB, free: 216 kB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5956, allocations: 0 / 0.5593 GB, free: 216 kB / 362.7 MB Notification: Performance of Templates: time 0.003847/0.5994, allocations: 1.255 MB / 0.5605 GB, free: 14.98 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches