Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,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.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.364/1.364, allocations: 223.2 MB / 241 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 99.7 kB / 292.2 MB, free: 10.69 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.3365/0.3365, allocations: 44.21 MB / 387.5 MB, free: 38.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003119/0.0003124, allocations: 11.98 kB / 459.9 MB, free: 1.496 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3572, allocations: 61.89 MB / 0.5096 GB, free: 37.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1187/0.476, allocations: 89.31 MB / 0.5968 GB, free: 5.805 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/0.4763, allocations: 71.94 kB / 0.5968 GB, free: 5.738 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01483/0.4911, allocations: 5.597 MB / 0.6023 GB, free: 148 kB / 410.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.4911, allocations: 0 / 0.6023 GB, free: 148 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.4912, allocations: 3.938 kB / 0.6023 GB, free: 144 kB / 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.0005178/0.4917, allocations: 410.9 kB / 0.6027 GB, free: 15.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.4917, allocations: 12.03 kB / 0.6027 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.4918, allocations: 11.91 kB / 0.6027 GB, free: 15.67 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.4921, allocations: 227.7 kB / 0.6029 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.4921, allocations: 7.953 kB / 0.6029 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.4921, allocations: 0 / 0.6029 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.4923, allocations: 57.67 kB / 0.603 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4923, allocations: 0 / 0.603 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.4923, allocations: 0 / 0.603 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4923, allocations: 0 / 0.603 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.919e-05/0.4924, allocations: 23.98 kB / 0.603 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.4928, allocations: 296.8 kB / 0.6033 GB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.493, allocations: 54.69 kB / 0.6034 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.493, allocations: 0 / 0.6034 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.4932, allocations: 79.44 kB / 0.6034 GB, free: 14.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.4932, allocations: 0 / 0.6034 GB, free: 14.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005546/0.4938, allocations: 173.2 kB / 0.6036 GB, free: 14.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.4938, allocations: 59.34 kB / 0.6037 GB, free: 14.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.494, allocations: 167.1 kB / 0.6038 GB, free: 14.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.494, allocations: 29.7 kB / 0.6038 GB, free: 14.37 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/0.4941, allocations: 100.1 kB / 0.6039 GB, free: 14.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.4941, allocations: 27.64 kB / 0.604 GB, free: 14.24 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.4941, allocations: 4 kB / 0.604 GB, free: 14.24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.4943, allocations: 331 kB / 0.6043 GB, free: 13.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.957e-05/0.4943, allocations: 16 kB / 0.6043 GB, free: 13.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.047e-05/0.4944, allocations: 33.7 kB / 0.6043 GB, free: 13.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.1e-05/0.4945, allocations: 27.98 kB / 0.6044 GB, free: 13.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.4945, allocations: 0 / 0.6044 GB, free: 13.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001761/0.4947, allocations: 109.5 kB / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.4947, allocations: 9.859 kB / 0.6045 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.4947, allocations: 0 / 0.6045 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.4947, allocations: 4 kB / 0.6045 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.868e-05/0.4948, allocations: 16 kB / 0.6045 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.4948, allocations: 0 / 0.6045 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.694e-05/0.4949, allocations: 7.984 kB / 0.6045 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.4949, allocations: 4 kB / 0.6045 GB, free: 13.67 MB / 426.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 () * Number of clocked 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 0.0001017/0.495, allocations: 131.5 kB / 0.6046 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.994e-05/0.495, allocations: 11.91 kB / 0.6046 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.4953, allocations: 126.2 kB / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.4953, allocations: 3.984 kB / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4953, allocations: 0 / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4953, allocations: 4 kB / 0.6048 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004551/0.4958, allocations: 411.3 kB / 0.6052 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4958, allocations: 4.031 kB / 0.6052 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.77e-05/0.4958, allocations: 8 kB / 0.6052 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4959, allocations: 0 / 0.6052 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.4959, allocations: 7.984 kB / 0.6052 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4959, allocations: 0 / 0.6052 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.4959, allocations: 0 / 0.6052 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.4961, allocations: 229.8 kB / 0.6054 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-05/0.4962, allocations: 93 kB / 0.6055 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.4962, allocations: 4 kB / 0.6055 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.365e-05/0.4963, allocations: 4.375 kB / 0.6055 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.4963, allocations: 11.98 kB / 0.6055 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.4964, allocations: 3.953 kB / 0.6055 GB, free: 12.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001179/0.4965, allocations: 148 kB / 0.6057 GB, free: 12.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4965, allocations: 0 / 0.6057 GB, free: 12.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000257/0.4968, allocations: 31.94 kB / 0.6057 GB, free: 12.34 MB / 426.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) * Number of clocked states: 0 () * 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.001059/0.4978, allocations: 487.3 kB / 0.6062 GB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.498, allocations: 67.89 kB / 0.6062 GB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.498, allocations: 4.062 kB / 0.6062 GB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.011e-05/0.4981, allocations: 31.98 kB / 0.6063 GB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.4983, allocations: 24.3 kB / 0.6063 GB, free: 11.92 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004191/0.4988, allocations: 246.3 kB / 0.6065 GB, free: 11.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.4991, allocations: 0.716 MB / 0.6072 GB, free: 10.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.576e-05/0.4991, allocations: 16.53 kB / 0.6072 GB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.825e-05/0.4992, allocations: 15.44 kB / 0.6072 GB, free: 10.87 MB / 426.7 MB Notification: Performance of SimCode: time 4.5e-07/0.4992, allocations: 0 / 0.6072 GB, free: 10.87 MB / 426.7 MB Notification: Performance of Templates: time 0.004172/0.5033, allocations: 1.684 MB / 0.6089 GB, free: 9.199 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches