Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009393/0.0009392, allocations: 174.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.289/1.289, allocations: 221.5 MB / 230.7 MB, free: 7.578 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.0008707/0.0008707, allocations: 93.84 kB / 281.6 MB, free: 5.324 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.1774/0.1774, allocations: 44.14 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.5e-05/1.502e-05, allocations: 224 / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1239, allocations: 61.92 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3816/0.5056, allocations: 87.31 MB / 0.5799 GB, free: 9.215 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.5058, allocations: 72.8 kB / 0.58 GB, free: 9.145 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00954/0.5154, allocations: 3.665 MB / 0.5836 GB, free: 5.488 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.5154, allocations: 0 / 0.5836 GB, free: 5.488 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.5154, allocations: 3.938 kB / 0.5836 GB, free: 5.484 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003688/0.5158, allocations: 365.4 kB / 0.5839 GB, free: 5.086 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.5159, allocations: 15.98 kB / 0.584 GB, free: 5.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.951e-05/0.5159, allocations: 3.906 kB / 0.584 GB, free: 5.066 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.5162, allocations: 192.7 kB / 0.5841 GB, free: 4.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.5162, allocations: 0 / 0.5841 GB, free: 4.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.5162, allocations: 7.984 kB / 0.5842 GB, free: 4.832 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.319e-05/0.5163, allocations: 19.89 kB / 0.5842 GB, free: 4.812 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.985e-05/0.5164, allocations: 41.69 kB / 0.5842 GB, free: 4.766 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.5164, allocations: 0 / 0.5842 GB, free: 4.766 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.5164, allocations: 0 / 0.5842 GB, free: 4.766 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.5165, allocations: 4 kB / 0.5842 GB, free: 4.762 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.5168, allocations: 253.5 kB / 0.5845 GB, free: 4.477 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.517, allocations: 46.45 kB / 0.5845 GB, free: 4.422 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.686e-05/0.5171, allocations: 12.8 kB / 0.5845 GB, free: 4.406 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.5171, allocations: 4 kB / 0.5845 GB, free: 4.402 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.5171, allocations: 34.56 kB / 0.5846 GB, free: 4.359 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.5171, allocations: 0 / 0.5846 GB, free: 4.359 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004026/0.5175, allocations: 105.4 kB / 0.5847 GB, free: 4.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.5176, allocations: 51.41 kB / 0.5847 GB, free: 4.188 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.5177, allocations: 130.9 kB / 0.5848 GB, free: 4.051 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.5177, allocations: 25.7 kB / 0.5848 GB, free: 4.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.557e-05/0.5178, allocations: 100.1 kB / 0.5849 GB, free: 3.918 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.5178, allocations: 15.72 kB / 0.585 GB, free: 3.902 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.5178, allocations: 0 / 0.585 GB, free: 3.902 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.518, allocations: 318.8 kB / 0.5853 GB, free: 3.582 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.586e-05/0.518, allocations: 12 kB / 0.5853 GB, free: 3.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.143e-05/0.518, allocations: 12.06 kB / 0.5853 GB, free: 3.559 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.103e-05/0.5181, allocations: 15.98 kB / 0.5853 GB, free: 3.543 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.5181, allocations: 0 / 0.5853 GB, free: 3.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001056/0.5182, allocations: 65.64 kB / 0.5854 GB, free: 3.473 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.5182, allocations: 9.406 kB / 0.5854 GB, free: 3.465 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.5182, allocations: 0 / 0.5854 GB, free: 3.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.5182, allocations: 0 / 0.5854 GB, free: 3.465 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.08e-05/0.5183, allocations: 15.94 kB / 0.5854 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.5183, allocations: 0 / 0.5854 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.241e-05/0.5184, allocations: 7.984 kB / 0.5854 GB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.5184, allocations: 4 kB / 0.5854 GB, free: 3.438 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 (5): * Single equations (assignments): 5 * 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 6.591e-05/0.5185, allocations: 102.4 kB / 0.5855 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.5185, allocations: 19.86 kB / 0.5855 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001521/0.5187, allocations: 70.08 kB / 0.5856 GB, free: 3.238 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.5187, allocations: 4 kB / 0.5856 GB, free: 3.234 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.5187, allocations: 3.938 kB / 0.5856 GB, free: 3.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.5187, allocations: 0 / 0.5856 GB, free: 3.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003171/0.519, allocations: 315 kB / 0.5859 GB, free: 2.879 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.519, allocations: 0 / 0.5859 GB, free: 2.879 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.647e-05/0.5191, allocations: 19.98 kB / 0.5859 GB, free: 2.859 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5191, allocations: 144 / 0.5859 GB, free: 2.859 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.5191, allocations: 0 / 0.5859 GB, free: 2.859 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.5191, allocations: 3.938 kB / 0.5859 GB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5191, allocations: 0 / 0.5859 GB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.5193, allocations: 163.8 kB / 0.5861 GB, free: 2.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.325e-05/0.5194, allocations: 96.89 kB / 0.5862 GB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.5194, allocations: 0 / 0.5862 GB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.079e-05/0.5195, allocations: 8 kB / 0.5862 GB, free: 2.559 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.5195, allocations: 7.984 kB / 0.5862 GB, free: 2.551 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.5195, allocations: 0 / 0.5862 GB, free: 2.551 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.406e-05/0.5196, allocations: 103.3 kB / 0.5863 GB, free: 2.449 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5196, allocations: 0 / 0.5863 GB, free: 2.449 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002382/0.5199, allocations: 19.94 kB / 0.5863 GB, free: 2.43 MB / 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 (5): * Single equations (assignments): 5 * 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.0008764/0.5207, allocations: 341.5 kB / 0.5866 GB, free: 2.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.5209, allocations: 24 kB / 0.5866 GB, free: 2.137 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5209, allocations: 0 / 0.5866 GB, free: 2.137 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.135e-05/0.5209, allocations: 24.05 kB / 0.5867 GB, free: 2.113 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.5211, allocations: 17.86 kB / 0.5867 GB, free: 2.098 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/0.5214, allocations: 111.7 kB / 0.5868 GB, free: 1.965 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.5218, allocations: 0.7002 MB / 0.5875 GB, free: 1.238 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.371e-05/0.5219, allocations: 16.17 kB / 0.5875 GB, free: 1.219 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.5219, allocations: 11.44 kB / 0.5875 GB, free: 1.207 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5219, allocations: 0 / 0.5875 GB, free: 1.207 MB / 394.7 MB Notification: Performance of Templates: time 0.00328/0.5252, allocations: 1.007 MB / 0.5885 GB, free: 208 kB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches