Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 168.8 kB / 8.739 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.386/1.386, allocations: 221.5 MB / 230.7 MB, free: 7.57 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.0008455/0.0008455, allocations: 98.12 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.1816/0.1816, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.432e-05/1.435e-05, allocations: 8.203 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1222, allocations: 61.9 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3782/0.5005, allocations: 87.61 MB / 0.5802 GB, free: 8.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.5007, allocations: 75.94 kB / 0.5803 GB, free: 8.836 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01078/0.5115, allocations: 4.159 MB / 0.5844 GB, free: 4.691 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5116, allocations: 4 kB / 0.5844 GB, free: 4.688 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.5116, allocations: 0 / 0.5844 GB, free: 4.688 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.0003926/0.512, allocations: 370.6 kB / 0.5847 GB, free: 4.285 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.5121, allocations: 11.98 kB / 0.5847 GB, free: 4.273 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.5121, allocations: 7.906 kB / 0.5847 GB, free: 4.266 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.5123, allocations: 186.9 kB / 0.5849 GB, free: 4.043 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.5123, allocations: 0 / 0.5849 GB, free: 4.043 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.5124, allocations: 4 kB / 0.5849 GB, free: 4.039 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.602e-05/0.5124, allocations: 15.95 kB / 0.5849 GB, free: 4.023 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.965e-05/0.5125, allocations: 55.41 kB / 0.585 GB, free: 3.957 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.5125, allocations: 3.938 kB / 0.585 GB, free: 3.953 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.5126, allocations: 4 kB / 0.585 GB, free: 3.949 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.5126, allocations: 4 kB / 0.585 GB, free: 3.945 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.5129, allocations: 249.5 kB / 0.5852 GB, free: 3.664 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.5131, allocations: 46.45 kB / 0.5853 GB, free: 3.609 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.568e-05/0.5131, allocations: 12.86 kB / 0.5853 GB, free: 3.594 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.5131, allocations: 4 kB / 0.5853 GB, free: 3.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.5132, allocations: 34.56 kB / 0.5853 GB, free: 3.547 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.5132, allocations: 0 / 0.5853 GB, free: 3.547 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003632/0.5135, allocations: 105.4 kB / 0.5854 GB, free: 3.438 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.5136, allocations: 81.11 kB / 0.5855 GB, free: 3.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.5137, allocations: 119.7 kB / 0.5856 GB, free: 3.219 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.5137, allocations: 29.7 kB / 0.5856 GB, free: 3.184 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/0.5138, allocations: 92.12 kB / 0.5857 GB, free: 3.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.5138, allocations: 15.75 kB / 0.5857 GB, free: 3.074 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.5138, allocations: 0 / 0.5857 GB, free: 3.074 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5139, allocations: 319.6 kB / 0.5861 GB, free: 2.754 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.665e-05/0.514, allocations: 12 kB / 0.5861 GB, free: 2.742 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.119e-05/0.514, allocations: 25.66 kB / 0.5861 GB, free: 2.711 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.258e-05/0.5141, allocations: 16.17 kB / 0.5861 GB, free: 2.695 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.5141, allocations: 4.031 kB / 0.5861 GB, free: 2.691 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001073/0.5142, allocations: 73.55 kB / 0.5862 GB, free: 2.613 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.5142, allocations: 8 kB / 0.5862 GB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.5142, allocations: 0 / 0.5862 GB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.5142, allocations: 3.938 kB / 0.5862 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.05e-05/0.5143, allocations: 15.98 kB / 0.5862 GB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.5143, allocations: 0 / 0.5862 GB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.338e-05/0.5144, allocations: 4 kB / 0.5862 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-06/0.5144, allocations: 4 kB / 0.5862 GB, free: 2.578 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 0.0001016/0.5145, allocations: 105 kB / 0.5863 GB, free: 2.469 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.5145, allocations: 19.78 kB / 0.5863 GB, free: 2.449 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001521/0.5147, allocations: 66.09 kB / 0.5864 GB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.5147, allocations: 144 / 0.5864 GB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.5147, allocations: 3.984 kB / 0.5864 GB, free: 2.371 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.5147, allocations: 7.984 kB / 0.5864 GB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.515, allocations: 307.1 kB / 0.5867 GB, free: 2.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5151, allocations: 3.938 kB / 0.5867 GB, free: 2.016 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.653e-05/0.5151, allocations: 15.98 kB / 0.5867 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.5151, allocations: 0 / 0.5867 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.5152, allocations: 3.938 kB / 0.5867 GB, free: 1.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5152, allocations: 4 kB / 0.5867 GB, free: 1.992 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5152, allocations: 0 / 0.5867 GB, free: 1.992 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.5153, allocations: 155.7 kB / 0.5869 GB, free: 1.824 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.5154, allocations: 96.95 kB / 0.587 GB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.5154, allocations: 4 kB / 0.587 GB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.217e-05/0.5155, allocations: 4 kB / 0.587 GB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.5155, allocations: 11.98 kB / 0.587 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.5155, allocations: 0 / 0.587 GB, free: 1.691 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.964e-05/0.5156, allocations: 103.3 kB / 0.5871 GB, free: 1.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5156, allocations: 0 / 0.5871 GB, free: 1.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002528/0.5159, allocations: 27.98 kB / 0.5871 GB, free: 1.562 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.0008088/0.5167, allocations: 393.3 kB / 0.5875 GB, free: 1.246 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.93e-05/0.5168, allocations: 28 kB / 0.5875 GB, free: 1.219 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5168, allocations: 4 kB / 0.5875 GB, free: 1.215 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.126e-05/0.5168, allocations: 19.92 kB / 0.5875 GB, free: 1.195 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.517, allocations: 15.98 kB / 0.5876 GB, free: 1.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002709/0.5173, allocations: 95.98 kB / 0.5876 GB, free: 1.059 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.5176, allocations: 0.6924 MB / 0.5883 GB, free: 348 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.005e-05/0.5177, allocations: 16.17 kB / 0.5883 GB, free: 332 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/0.5177, allocations: 19.42 kB / 0.5884 GB, free: 312 kB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5177, allocations: 0 / 0.5884 GB, free: 312 kB / 394.7 MB Notification: Performance of Templates: time 0.003379/0.5211, allocations: 1.24 MB / 0.5896 GB, free: 15.07 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches