Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 173.7 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.486/1.486, 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.000851/0.0008511, allocations: 98 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.2026/0.2026, allocations: 44.15 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.544e-05/1.547e-05, allocations: 224 / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1203, allocations: 61.92 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3884/0.5088, allocations: 87.67 MB / 0.5803 GB, free: 8.848 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001884/0.5091, allocations: 63.97 kB / 0.5804 GB, free: 8.785 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01169/0.5208, allocations: 4.463 MB / 0.5847 GB, free: 4.336 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5208, allocations: 0 / 0.5847 GB, free: 4.336 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.5208, allocations: 8 kB / 0.5847 GB, free: 4.328 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003493/0.5212, allocations: 366.3 kB / 0.5851 GB, free: 3.926 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.5212, allocations: 16.73 kB / 0.5851 GB, free: 3.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/0.5213, allocations: 7.938 kB / 0.5851 GB, free: 3.902 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.5215, allocations: 190.9 kB / 0.5853 GB, free: 3.676 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.5215, allocations: 4 kB / 0.5853 GB, free: 3.672 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.5215, allocations: 0 / 0.5853 GB, free: 3.672 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.169e-05/0.5216, allocations: 31.94 kB / 0.5853 GB, free: 3.641 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.5217, allocations: 79.27 kB / 0.5854 GB, free: 3.551 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.5218, allocations: 0 / 0.5854 GB, free: 3.551 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.5218, allocations: 0 / 0.5854 GB, free: 3.551 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.5218, allocations: 4 kB / 0.5854 GB, free: 3.547 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.5222, allocations: 277.3 kB / 0.5857 GB, free: 3.238 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.163e-05/0.5223, allocations: 50.66 kB / 0.5857 GB, free: 3.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.938e-05/0.5224, allocations: 20.92 kB / 0.5857 GB, free: 3.156 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.5224, allocations: 0 / 0.5857 GB, free: 3.156 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.5224, allocations: 38.55 kB / 0.5858 GB, free: 3.109 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.5224, allocations: 0 / 0.5858 GB, free: 3.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004342/0.5229, allocations: 145.2 kB / 0.5859 GB, free: 2.961 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.5229, allocations: 81.11 kB / 0.586 GB, free: 2.863 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.523, allocations: 126.2 kB / 0.5861 GB, free: 2.734 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.5231, allocations: 25.7 kB / 0.5861 GB, free: 2.703 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.5231, allocations: 92.05 kB / 0.5862 GB, free: 2.609 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.5232, allocations: 27.64 kB / 0.5862 GB, free: 2.582 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.5232, allocations: 0 / 0.5862 GB, free: 2.582 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.5233, allocations: 318.8 kB / 0.5865 GB, free: 2.262 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.501e-05/0.5233, allocations: 23.98 kB / 0.5866 GB, free: 2.238 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.988e-05/0.5234, allocations: 33.72 kB / 0.5866 GB, free: 2.199 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.214e-05/0.5234, allocations: 20.22 kB / 0.5866 GB, free: 2.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.5234, allocations: 0 / 0.5866 GB, free: 2.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001267/0.5236, allocations: 89.56 kB / 0.5867 GB, free: 2.086 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.5236, allocations: 9.25 kB / 0.5867 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.5236, allocations: 0 / 0.5867 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.5236, allocations: 0 / 0.5867 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.5237, allocations: 23.92 kB / 0.5867 GB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.5237, allocations: 7.969 kB / 0.5867 GB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.418e-05/0.5238, allocations: 4 kB / 0.5867 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.5238, allocations: 4 kB / 0.5867 GB, free: 2.039 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 (8): * Single equations (assignments): 8 * 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.661e-05/0.5239, allocations: 104.9 kB / 0.5868 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.5239, allocations: 7.906 kB / 0.5868 GB, free: 1.922 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.5241, allocations: 98.28 kB / 0.5869 GB, free: 1.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.5241, allocations: 4 kB / 0.5869 GB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.5241, allocations: 4 kB / 0.587 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.5241, allocations: 7.922 kB / 0.587 GB, free: 1.805 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003559/0.5245, allocations: 347 kB / 0.5873 GB, free: 1.422 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5245, allocations: 0 / 0.5873 GB, free: 1.422 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.695e-05/0.5246, allocations: 19.98 kB / 0.5873 GB, free: 1.402 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.5246, allocations: 7.938 kB / 0.5873 GB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.5246, allocations: 0 / 0.5873 GB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.5246, allocations: 0 / 0.5873 GB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.5247, allocations: 7.938 kB / 0.5873 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.5248, allocations: 191.6 kB / 0.5875 GB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/0.5249, allocations: 85.09 kB / 0.5876 GB, free: 1.082 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.5249, allocations: 4 kB / 0.5876 GB, free: 1.078 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.381e-05/0.525, allocations: 4 kB / 0.5876 GB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.525, allocations: 7.984 kB / 0.5876 GB, free: 1.066 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-06/0.5251, allocations: 0 / 0.5876 GB, free: 1.066 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.759e-05/0.5251, allocations: 116.9 kB / 0.5877 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5251, allocations: 0 / 0.5877 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002617/0.5254, allocations: 31.91 kB / 0.5877 GB, free: 0.9219 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 (8): * Single equations (assignments): 8 * 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.0008575/0.5263, allocations: 389.7 kB / 0.5881 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.5264, allocations: 47.98 kB / 0.5882 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5264, allocations: 4 kB / 0.5882 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.046e-05/0.5265, allocations: 31.88 kB / 0.5882 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.5267, allocations: 15.94 kB / 0.5882 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002584/0.5269, allocations: 124.2 kB / 0.5883 GB, free: 376 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.5272, allocations: 0.6963 MB / 0.589 GB, free: 15.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.82e-05/0.5272, allocations: 20.95 kB / 0.589 GB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.799e-05/0.5273, allocations: 19.42 kB / 0.589 GB, free: 15.61 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5273, allocations: 0 / 0.589 GB, free: 15.61 MB / 410.7 MB Notification: Performance of Templates: time 0.003418/0.5307, allocations: 1.347 MB / 0.5904 GB, free: 14.26 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches