Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009312/0.0009312, allocations: 183 kB / 18.09 MB, free: 3.629 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.184/1.184, allocations: 223.3 MB / 242.1 MB, free: 11.68 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007394/0.0007395, allocations: 99.22 kB / 293.3 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2876/0.2876, allocations: 44.15 MB / 388.5 MB, free: 38.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.0003321, allocations: 19.98 kB / 461.1 MB, free: 1.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2663, allocations: 61.87 MB / 0.5107 GB, free: 38.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09717/0.3635, allocations: 89.02 MB / 0.5977 GB, free: 6.039 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.3638, allocations: 79.94 kB / 0.5977 GB, free: 5.965 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01726/0.381, allocations: 8.519 MB / 0.6061 GB, free: 13.42 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.195e-06/0.3811, allocations: 4 kB / 0.6061 GB, free: 13.42 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.005e-05/0.3811, allocations: 11.98 kB / 0.6061 GB, free: 13.41 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006606/0.3818, allocations: 0.6337 MB / 0.6067 GB, free: 12.72 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.3818, allocations: 12.03 kB / 0.6067 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.873e-05/0.3819, allocations: 44.38 kB / 0.6067 GB, free: 12.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.3823, allocations: 364 kB / 0.6071 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.3824, allocations: 4.375 kB / 0.6071 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.3824, allocations: 8.359 kB / 0.6071 GB, free: 12.26 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.3826, allocations: 62.23 kB / 0.6072 GB, free: 12.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3826, allocations: 8.172 kB / 0.6072 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.3826, allocations: 7.938 kB / 0.6072 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.3826, allocations: 0 / 0.6072 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.3827, allocations: 55.89 kB / 0.6072 GB, free: 12.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006/0.3834, allocations: 468.5 kB / 0.6077 GB, free: 11.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.3836, allocations: 66.58 kB / 0.6077 GB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.541e-05/0.3837, allocations: 32.95 kB / 0.6078 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.3837, allocations: 4 kB / 0.6078 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.3837, allocations: 38.56 kB / 0.6078 GB, free: 11.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.3837, allocations: 0 / 0.6078 GB, free: 11.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001371/0.3851, allocations: 0.556 MB / 0.6084 GB, free: 10.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.3851, allocations: 51.41 kB / 0.6084 GB, free: 10.83 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.3863, allocations: 0.8494 MB / 0.6092 GB, free: 9.969 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.3863, allocations: 33.7 kB / 0.6093 GB, free: 9.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.3864, allocations: 215.9 kB / 0.6095 GB, free: 9.715 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.3865, allocations: 43.47 kB / 0.6095 GB, free: 9.672 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-06/0.3865, allocations: 0 / 0.6095 GB, free: 9.672 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.3866, allocations: 366.7 kB / 0.6099 GB, free: 9.305 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.3867, allocations: 63.95 kB / 0.6099 GB, free: 9.242 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.3869, allocations: 55.97 kB / 0.61 GB, free: 9.188 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/0.3871, allocations: 145.1 kB / 0.6101 GB, free: 9.043 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.3871, allocations: 0 / 0.6101 GB, free: 9.043 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003539/0.3875, allocations: 216.9 kB / 0.6103 GB, free: 8.824 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3875, allocations: 8 kB / 0.6103 GB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3875, allocations: 0 / 0.6103 GB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.3875, allocations: 4 kB / 0.6103 GB, free: 8.812 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.3877, allocations: 31.92 kB / 0.6104 GB, free: 8.781 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3877, allocations: 64 / 0.6104 GB, free: 8.781 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.943e-05/0.3878, allocations: 27.92 kB / 0.6104 GB, free: 8.754 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.3878, allocations: 0 / 0.6104 GB, free: 8.754 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 (11): * Single equations (assignments): 11 * 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.0001768/0.388, allocations: 222.3 kB / 0.6106 GB, free: 8.527 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.821e-05/0.388, allocations: 43.44 kB / 0.6106 GB, free: 8.484 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004084/0.3884, allocations: 249.3 kB / 0.6109 GB, free: 8.234 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3885, allocations: 0 / 0.6109 GB, free: 8.234 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3885, allocations: 0 / 0.6109 GB, free: 8.234 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.3885, allocations: 3.938 kB / 0.6109 GB, free: 8.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009178/0.3894, allocations: 0.7419 MB / 0.6116 GB, free: 7.426 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3894, allocations: 0 / 0.6116 GB, free: 7.426 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.994e-05/0.3895, allocations: 31.92 kB / 0.6116 GB, free: 7.395 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.3895, allocations: 12.05 kB / 0.6117 GB, free: 7.383 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.3896, allocations: 4 kB / 0.6117 GB, free: 7.379 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3896, allocations: 0 / 0.6117 GB, free: 7.379 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3896, allocations: 4 kB / 0.6117 GB, free: 7.375 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.39, allocations: 316.6 kB / 0.612 GB, free: 7.043 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.3901, allocations: 164.5 kB / 0.6121 GB, free: 6.863 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.3902, allocations: 0 / 0.6121 GB, free: 6.863 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.3903, allocations: 20.09 kB / 0.6121 GB, free: 6.844 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.3903, allocations: 11.92 kB / 0.6122 GB, free: 6.832 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-06/0.3903, allocations: 7.984 kB / 0.6122 GB, free: 6.824 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006196/0.391, allocations: 0.6394 MB / 0.6128 GB, free: 6.188 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.391, allocations: 0 / 0.6128 GB, free: 6.188 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002965/0.3913, allocations: 67.94 kB / 0.6128 GB, free: 6.121 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009165/0.3922, allocations: 472.6 kB / 0.6133 GB, free: 5.836 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003145/0.3925, allocations: 143.9 kB / 0.6134 GB, free: 5.695 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3925, allocations: 0 / 0.6134 GB, free: 5.695 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.3927, allocations: 76.02 kB / 0.6135 GB, free: 5.621 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.3931, allocations: 29.91 kB / 0.6135 GB, free: 5.594 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.3943, allocations: 1.003 MB / 0.6145 GB, free: 4.555 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.3946, allocations: 0.8417 MB / 0.6153 GB, free: 3.688 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001257/0.3948, allocations: 56.77 kB / 0.6154 GB, free: 3.629 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.792e-05/0.3948, allocations: 23.44 kB / 0.6154 GB, free: 3.605 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3948, allocations: 0 / 0.6154 GB, free: 3.605 MB / 426.7 MB Notification: Performance of Templates: time 0.006051/0.4009, allocations: 2.834 MB / 0.6182 GB, free: 0.7695 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches