Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.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.CombiTable1Ds.Test11,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.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,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.CombiTable1Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, 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.352/1.352, 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.0009346/0.0009346, allocations: 98.98 kB / 281.6 MB, free: 5.32 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.2076/0.2076, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.791e-05/1.795e-05, allocations: 4.219 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.138, allocations: 61.91 MB / 0.4947 GB, free: 1.266 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4652/0.6032, allocations: 87.21 MB / 0.5798 GB, free: 9.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.6036, allocations: 75.95 kB / 0.5799 GB, free: 9.246 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00975/0.6133, allocations: 3.726 MB / 0.5835 GB, free: 5.531 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.6134, allocations: 0 / 0.5835 GB, free: 5.531 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.6134, allocations: 7.938 kB / 0.5836 GB, free: 5.523 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.0003686/0.6137, allocations: 370.4 kB / 0.5839 GB, free: 5.117 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.6138, allocations: 11.98 kB / 0.5839 GB, free: 5.105 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/0.6138, allocations: 11.84 kB / 0.5839 GB, free: 5.094 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.6141, allocations: 201 kB / 0.5841 GB, free: 4.859 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.6141, allocations: 3.953 kB / 0.5841 GB, free: 4.855 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.6142, allocations: 0 / 0.5841 GB, free: 4.855 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001071/0.6143, allocations: 12 kB / 0.5841 GB, free: 4.844 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.932e-05/0.6144, allocations: 41.69 kB / 0.5842 GB, free: 4.797 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.6144, allocations: 0 / 0.5842 GB, free: 4.797 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.6144, allocations: 0 / 0.5842 GB, free: 4.797 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.6144, allocations: 0 / 0.5842 GB, free: 4.797 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.6148, allocations: 261.4 kB / 0.5844 GB, free: 4.504 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.615, allocations: 34.56 kB / 0.5845 GB, free: 4.461 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.52e-05/0.6151, allocations: 12.94 kB / 0.5845 GB, free: 4.445 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.6151, allocations: 7.938 kB / 0.5845 GB, free: 4.438 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.6151, allocations: 30.56 kB / 0.5845 GB, free: 4.398 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.6151, allocations: 0 / 0.5845 GB, free: 4.398 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004263/0.6156, allocations: 101.3 kB / 0.5846 GB, free: 4.293 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.6156, allocations: 51.41 kB / 0.5846 GB, free: 4.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.6158, allocations: 148.8 kB / 0.5848 GB, free: 4.078 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.6158, allocations: 25.7 kB / 0.5848 GB, free: 4.047 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/0.6159, allocations: 100.1 kB / 0.5849 GB, free: 3.945 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.6159, allocations: 19.72 kB / 0.5849 GB, free: 3.926 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.6159, allocations: 0 / 0.5849 GB, free: 3.926 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.6161, allocations: 326.8 kB / 0.5852 GB, free: 3.598 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.204e-05/0.6161, allocations: 12 kB / 0.5853 GB, free: 3.586 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.624e-05/0.6161, allocations: 4 kB / 0.5853 GB, free: 3.582 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.637e-05/0.6162, allocations: 8 kB / 0.5853 GB, free: 3.574 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.6162, allocations: 0 / 0.5853 GB, free: 3.574 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.626e-05/0.6163, allocations: 65.53 kB / 0.5853 GB, free: 3.504 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.6163, allocations: 5.406 kB / 0.5853 GB, free: 3.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.6163, allocations: 4 kB / 0.5853 GB, free: 3.496 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.6163, allocations: 0 / 0.5853 GB, free: 3.496 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.558e-05/0.6164, allocations: 20.23 kB / 0.5854 GB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.6164, allocations: 0 / 0.5854 GB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.393e-05/0.6165, allocations: 8 kB / 0.5854 GB, free: 3.469 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.6165, allocations: 0 / 0.5854 GB, free: 3.469 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 9.167e-05/0.6166, allocations: 110.8 kB / 0.5855 GB, free: 3.355 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.6166, allocations: 11.91 kB / 0.5855 GB, free: 3.344 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001551/0.6168, allocations: 70.02 kB / 0.5855 GB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.6168, allocations: 0 / 0.5855 GB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.6168, allocations: 7.938 kB / 0.5856 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.6168, allocations: 0 / 0.5856 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000339/0.6172, allocations: 311.1 kB / 0.5859 GB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.6172, allocations: 0 / 0.5859 GB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.254e-05/0.6173, allocations: 15.98 kB / 0.5859 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.6173, allocations: 0 / 0.5859 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.6173, allocations: 0 / 0.5859 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.6173, allocations: 0 / 0.5859 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.6173, allocations: 7.938 kB / 0.5859 GB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.6175, allocations: 167.3 kB / 0.586 GB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.158e-05/0.6175, allocations: 85.02 kB / 0.5861 GB, free: 2.609 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.6176, allocations: 3.984 kB / 0.5861 GB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-05/0.6176, allocations: 4 kB / 0.5861 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.6177, allocations: 4 kB / 0.5861 GB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.6177, allocations: 0 / 0.5861 GB, free: 2.598 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001062/0.6178, allocations: 131.2 kB / 0.5863 GB, free: 2.469 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6178, allocations: 0 / 0.5863 GB, free: 2.469 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002426/0.6181, allocations: 15.94 kB / 0.5863 GB, free: 2.453 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.0008055/0.6189, allocations: 332.9 kB / 0.5866 GB, free: 2.191 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.14e-05/0.619, allocations: 27.94 kB / 0.5866 GB, free: 2.164 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.619, allocations: 4 kB / 0.5866 GB, free: 2.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.73e-05/0.619, allocations: 16 kB / 0.5866 GB, free: 2.145 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.6192, allocations: 25.73 kB / 0.5867 GB, free: 2.121 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.6196, allocations: 120.5 kB / 0.5868 GB, free: 1.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.6199, allocations: 0.6963 MB / 0.5874 GB, free: 1.258 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.437e-05/0.6199, allocations: 8.188 kB / 0.5875 GB, free: 1.246 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.62, allocations: 15.44 kB / 0.5875 GB, free: 1.23 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.62, allocations: 0 / 0.5875 GB, free: 1.23 MB / 394.7 MB Notification: Performance of Templates: time 0.003205/0.6232, allocations: 1.031 MB / 0.5885 GB, free: 208 kB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches