Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009559/0.0009559, allocations: 180.3 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 221.4 MB / 236 MB, free: 2.934 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.0008091/0.0008091, allocations: 86.72 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1765/0.1765, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.413e-05/3.415e-05, allocations: 4.219 kB / 451.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1391, allocations: 61.92 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3692/0.5083, allocations: 89.18 MB / 0.5888 GB, free: 124 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.5086, allocations: 67.97 kB / 0.5889 GB, free: 56 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01407/0.5227, allocations: 5.422 MB / 0.5942 GB, free: 10.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.5227, allocations: 3.938 kB / 0.5942 GB, free: 10.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.5228, allocations: 4 kB / 0.5942 GB, free: 10.63 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004153/0.5232, allocations: 394.2 kB / 0.5945 GB, free: 10.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.5232, allocations: 8.031 kB / 0.5946 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.5233, allocations: 15.84 kB / 0.5946 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.5235, allocations: 202.9 kB / 0.5948 GB, free: 9.941 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.5236, allocations: 7.953 kB / 0.5948 GB, free: 9.934 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.5236, allocations: 4 kB / 0.5948 GB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.5237, allocations: 53.67 kB / 0.5948 GB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.5237, allocations: 0 / 0.5948 GB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.5237, allocations: 3.938 kB / 0.5948 GB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.5238, allocations: 4 kB / 0.5948 GB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.212e-05/0.5238, allocations: 19.98 kB / 0.5949 GB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003461/0.5242, allocations: 300.8 kB / 0.5951 GB, free: 9.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.5243, allocations: 50.69 kB / 0.5952 GB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.48e-05/0.5243, allocations: 20.98 kB / 0.5952 GB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.5243, allocations: 3.984 kB / 0.5952 GB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.5245, allocations: 71.33 kB / 0.5953 GB, free: 9.332 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.5245, allocations: 0 / 0.5953 GB, free: 9.332 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004048/0.5249, allocations: 149.3 kB / 0.5954 GB, free: 9.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.525, allocations: 63.34 kB / 0.5955 GB, free: 9.105 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.5251, allocations: 150.2 kB / 0.5956 GB, free: 8.953 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.5251, allocations: 33.7 kB / 0.5957 GB, free: 8.914 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.5252, allocations: 96.14 kB / 0.5957 GB, free: 8.816 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.5252, allocations: 27.64 kB / 0.5958 GB, free: 8.789 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.5252, allocations: 0 / 0.5958 GB, free: 8.789 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.5253, allocations: 330.8 kB / 0.5961 GB, free: 8.457 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.757e-05/0.5254, allocations: 20 kB / 0.5961 GB, free: 8.438 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.197e-05/0.5254, allocations: 29.72 kB / 0.5961 GB, free: 8.402 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.927e-05/0.5255, allocations: 23.98 kB / 0.5962 GB, free: 8.379 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.5255, allocations: 0 / 0.5962 GB, free: 8.379 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001396/0.5256, allocations: 105.5 kB / 0.5963 GB, free: 8.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.5256, allocations: 4 kB / 0.5963 GB, free: 8.266 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.5257, allocations: 4.031 kB / 0.5963 GB, free: 8.262 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.258e-06/0.5257, allocations: 0 / 0.5963 GB, free: 8.262 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.303e-05/0.5258, allocations: 16 kB / 0.5963 GB, free: 8.246 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.5258, allocations: 192 / 0.5963 GB, free: 8.246 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.511e-05/0.5258, allocations: 8.172 kB / 0.5963 GB, free: 8.238 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.5258, allocations: 7.938 kB / 0.5963 GB, free: 8.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.95e-05/0.5259, allocations: 116.9 kB / 0.5964 GB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.5259, allocations: 11.89 kB / 0.5964 GB, free: 8.098 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/0.5261, allocations: 122.1 kB / 0.5965 GB, free: 7.977 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.5261, allocations: 0 / 0.5965 GB, free: 7.977 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.5261, allocations: 0 / 0.5965 GB, free: 7.977 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.5262, allocations: 0 / 0.5965 GB, free: 7.977 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000382/0.5265, allocations: 407.3 kB / 0.5969 GB, free: 7.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.5266, allocations: 3.938 kB / 0.5969 GB, free: 7.516 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.814e-05/0.5266, allocations: 12 kB / 0.5969 GB, free: 7.504 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.5266, allocations: 0 / 0.5969 GB, free: 7.504 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.5266, allocations: 8.031 kB / 0.597 GB, free: 7.496 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.5266, allocations: 0 / 0.597 GB, free: 7.496 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5266, allocations: 0 / 0.597 GB, free: 7.496 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.5268, allocations: 217.9 kB / 0.5972 GB, free: 7.258 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-05/0.5269, allocations: 92.91 kB / 0.5972 GB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.5269, allocations: 4 kB / 0.5973 GB, free: 7.145 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.527, allocations: 11.98 kB / 0.5973 GB, free: 7.133 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.527, allocations: 7.953 kB / 0.5973 GB, free: 7.125 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.5271, allocations: 4 kB / 0.5973 GB, free: 7.121 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001039/0.5272, allocations: 134.5 kB / 0.5974 GB, free: 6.992 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5272, allocations: 0 / 0.5974 GB, free: 6.992 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002266/0.5274, allocations: 31.94 kB / 0.5974 GB, free: 6.961 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008672/0.5283, allocations: 435.3 kB / 0.5978 GB, free: 6.648 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001294/0.5284, allocations: 55.92 kB / 0.5979 GB, free: 6.594 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5284, allocations: 3.938 kB / 0.5979 GB, free: 6.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.157e-05/0.5285, allocations: 28 kB / 0.5979 GB, free: 6.562 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.5287, allocations: 27.97 kB / 0.598 GB, free: 6.535 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/0.5291, allocations: 156.1 kB / 0.5981 GB, free: 6.352 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.5293, allocations: 0.7043 MB / 0.5988 GB, free: 5.621 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.045e-05/0.5294, allocations: 16.41 kB / 0.5988 GB, free: 5.605 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.618e-05/0.5294, allocations: 15.44 kB / 0.5988 GB, free: 5.59 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5294, allocations: 4 kB / 0.5988 GB, free: 5.586 MB / 410.7 MB Notification: Performance of Templates: time 0.00364/0.5331, allocations: 1.665 MB / 0.6005 GB, free: 3.934 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches