Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 221.5 MB / 230.7 MB, free: 7.523 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009611/0.0009609, allocations: 85.86 kB / 281.6 MB, free: 5.262 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.2335/0.2335, allocations: 44.15 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.485e-05/1.485e-05, allocations: 4.219 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1239, allocations: 61.91 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3827/0.5066, allocations: 88.45 MB / 0.581 GB, free: 8.043 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004417/0.5071, allocations: 71.97 kB / 0.5811 GB, free: 7.973 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0117/0.5189, allocations: 4.415 MB / 0.5854 GB, free: 3.559 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5189, allocations: 0 / 0.5854 GB, free: 3.559 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.5189, allocations: 8 kB / 0.5854 GB, free: 3.551 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.0004125/0.5193, allocations: 378.2 kB / 0.5858 GB, free: 3.137 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.5194, allocations: 15.98 kB / 0.5858 GB, free: 3.121 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.5194, allocations: 8 kB / 0.5858 GB, free: 3.113 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.5197, allocations: 186.9 kB / 0.586 GB, free: 2.891 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.5197, allocations: 7.953 kB / 0.586 GB, free: 2.883 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.5197, allocations: 0 / 0.586 GB, free: 2.883 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.153e-05/0.5198, allocations: 23.98 kB / 0.586 GB, free: 2.859 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.5199, allocations: 63.33 kB / 0.5861 GB, free: 2.785 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.5199, allocations: 4 kB / 0.5861 GB, free: 2.781 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.52, allocations: 0 / 0.5861 GB, free: 2.781 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.52, allocations: 0 / 0.5861 GB, free: 2.781 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.5204, allocations: 289.3 kB / 0.5864 GB, free: 2.461 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.969e-05/0.5205, allocations: 42.5 kB / 0.5864 GB, free: 2.41 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.871e-05/0.5205, allocations: 15.81 kB / 0.5864 GB, free: 2.395 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.5205, allocations: 8 kB / 0.5864 GB, free: 2.387 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.5206, allocations: 30.56 kB / 0.5865 GB, free: 2.348 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.5206, allocations: 0 / 0.5865 GB, free: 2.348 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004954/0.5211, allocations: 149.4 kB / 0.5866 GB, free: 2.195 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.5211, allocations: 77.11 kB / 0.5867 GB, free: 2.102 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.5213, allocations: 134.4 kB / 0.5868 GB, free: 1.961 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.5213, allocations: 25.7 kB / 0.5868 GB, free: 1.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.439e-05/0.5214, allocations: 96.08 kB / 0.5869 GB, free: 1.832 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.5214, allocations: 23.61 kB / 0.5869 GB, free: 1.809 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-06/0.5214, allocations: 0 / 0.5869 GB, free: 1.809 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.5215, allocations: 323.5 kB / 0.5872 GB, free: 1.484 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.142e-05/0.5216, allocations: 20 kB / 0.5873 GB, free: 1.465 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.745e-05/0.5216, allocations: 37.77 kB / 0.5873 GB, free: 1.422 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.354e-05/0.5217, allocations: 28.02 kB / 0.5873 GB, free: 1.395 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.5217, allocations: 0 / 0.5873 GB, free: 1.395 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001202/0.5218, allocations: 81.59 kB / 0.5874 GB, free: 1.309 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.5219, allocations: 4 kB / 0.5874 GB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5219, allocations: 0 / 0.5874 GB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.5219, allocations: 7.938 kB / 0.5874 GB, free: 1.297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.522, allocations: 23.92 kB / 0.5874 GB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.522, allocations: 320 / 0.5874 GB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.442e-05/0.5221, allocations: 19.98 kB / 0.5875 GB, free: 1.254 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.5221, allocations: 0 / 0.5875 GB, free: 1.254 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 () * 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.598e-05/0.5222, allocations: 112.9 kB / 0.5876 GB, free: 1.137 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.5223, allocations: 7.906 kB / 0.5876 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/0.5225, allocations: 98.27 kB / 0.5877 GB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.5225, allocations: 3.938 kB / 0.5877 GB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.5225, allocations: 0 / 0.5877 GB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.5225, allocations: 7.938 kB / 0.5877 GB, free: 1.012 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003707/0.5229, allocations: 347 kB / 0.588 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.5229, allocations: 0 / 0.588 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.523, allocations: 27.98 kB / 0.588 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.523, allocations: 0 / 0.588 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.523, allocations: 0 / 0.588 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.523, allocations: 0 / 0.588 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.523, allocations: 4 kB / 0.588 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.5232, allocations: 195.3 kB / 0.5882 GB, free: 400 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-05/0.5233, allocations: 85 kB / 0.5883 GB, free: 296 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.5233, allocations: 4 kB / 0.5883 GB, free: 292 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-05/0.5234, allocations: 11.98 kB / 0.5883 GB, free: 280 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.5235, allocations: 4 kB / 0.5883 GB, free: 276 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.5235, allocations: 8.141 kB / 0.5883 GB, free: 268 kB / 394.7 MB Notification: Performance of sorting global known variables: time 7.857e-05/0.5236, allocations: 104.5 kB / 0.5884 GB, free: 164 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5236, allocations: 4 kB / 0.5884 GB, free: 160 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002684/0.5239, allocations: 27.98 kB / 0.5885 GB, free: 132 kB / 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 () * 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.0009114/0.5248, allocations: 382.4 kB / 0.5888 GB, free: 15.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001394/0.5249, allocations: 59.86 kB / 0.5889 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5249, allocations: 0 / 0.5889 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.52e-05/0.525, allocations: 24 kB / 0.5889 GB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.5252, allocations: 20.23 kB / 0.5889 GB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003209/0.5256, allocations: 132.1 kB / 0.5891 GB, free: 15.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.5258, allocations: 0.7079 MB / 0.5897 GB, free: 14.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.301e-05/0.5259, allocations: 20.64 kB / 0.5898 GB, free: 14.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.526, allocations: 19.44 kB / 0.5898 GB, free: 14.8 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.526, allocations: 0 / 0.5898 GB, free: 14.8 MB / 410.7 MB Notification: Performance of Templates: time 0.003847/0.5298, allocations: 1.41 MB / 0.5912 GB, free: 13.4 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches