Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 176.5 kB / 17.06 MB, free: 5.098 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.315/1.315, allocations: 223.2 MB / 241 MB, free: 11.87 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.0009273/0.0009273, allocations: 94.88 kB / 292.2 MB, free: 10.92 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.3649/0.3649, allocations: 44.22 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.000354, allocations: 8 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4425/0.4429, allocations: 61.91 MB / 0.5096 GB, free: 38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1229/0.5659, allocations: 89.29 MB / 0.5968 GB, free: 5.836 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.5662, allocations: 79.94 kB / 0.5968 GB, free: 5.762 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01585/0.582, allocations: 5.593 MB / 0.6023 GB, free: 176 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5821, allocations: 3.938 kB / 0.6023 GB, free: 172 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.5821, allocations: 4 kB / 0.6023 GB, free: 168 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.0005413/0.5826, allocations: 410.9 kB / 0.6027 GB, free: 15.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.5827, allocations: 8.031 kB / 0.6027 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.5827, allocations: 7.906 kB / 0.6027 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.5831, allocations: 223.7 kB / 0.6029 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.243e-05/0.5831, allocations: 15.89 kB / 0.6029 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.5831, allocations: 0 / 0.6029 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.5833, allocations: 61.66 kB / 0.603 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.5833, allocations: 0 / 0.603 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.5833, allocations: 4 kB / 0.603 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.5833, allocations: 0 / 0.603 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.688e-05/0.5834, allocations: 19.98 kB / 0.603 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000394/0.5839, allocations: 288.8 kB / 0.6033 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.584, allocations: 62.67 kB / 0.6034 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.5841, allocations: 0 / 0.6034 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001529/0.5842, allocations: 71.45 kB / 0.6034 GB, free: 14.85 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.5842, allocations: 0 / 0.6034 GB, free: 14.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005615/0.5848, allocations: 173.2 kB / 0.6036 GB, free: 14.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.5849, allocations: 59.33 kB / 0.6037 GB, free: 14.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.585, allocations: 171.1 kB / 0.6038 GB, free: 14.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.5851, allocations: 29.7 kB / 0.6038 GB, free: 14.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.5851, allocations: 104.1 kB / 0.6039 GB, free: 14.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.5852, allocations: 23.66 kB / 0.604 GB, free: 14.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.5852, allocations: 0 / 0.604 GB, free: 14.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.5853, allocations: 327 kB / 0.6043 GB, free: 13.94 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.806e-05/0.5854, allocations: 19.98 kB / 0.6043 GB, free: 13.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.122e-05/0.5855, allocations: 37.7 kB / 0.6043 GB, free: 13.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.036e-05/0.5855, allocations: 24 kB / 0.6044 GB, free: 13.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.5856, allocations: 0 / 0.6044 GB, free: 13.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002172/0.5858, allocations: 109.4 kB / 0.6045 GB, free: 13.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.5858, allocations: 4 kB / 0.6045 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.5858, allocations: 3.984 kB / 0.6045 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.5858, allocations: 0 / 0.6045 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.917e-05/0.5859, allocations: 19.98 kB / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.586, allocations: 0 / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.123e-05/0.586, allocations: 12.03 kB / 0.6045 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.586, allocations: 0 / 0.6045 GB, free: 13.7 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.0001249/0.5862, allocations: 134.2 kB / 0.6046 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.866e-05/0.5862, allocations: 11.84 kB / 0.6046 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.5865, allocations: 122.4 kB / 0.6048 GB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.5865, allocations: 0 / 0.6048 GB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5865, allocations: 384 / 0.6048 GB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.5865, allocations: 0 / 0.6048 GB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004986/0.587, allocations: 419.2 kB / 0.6052 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.587, allocations: 4 kB / 0.6052 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.63e-05/0.5871, allocations: 12 kB / 0.6052 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5871, allocations: 0 / 0.6052 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.5871, allocations: 4 kB / 0.6052 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.5871, allocations: 4 kB / 0.6052 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5871, allocations: 0 / 0.6052 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.5874, allocations: 233.8 kB / 0.6054 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.457e-05/0.5874, allocations: 89.02 kB / 0.6055 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.5875, allocations: 4 kB / 0.6055 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.485e-05/0.5876, allocations: 3.984 kB / 0.6055 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.5876, allocations: 4 kB / 0.6055 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.5876, allocations: 15.94 kB / 0.6055 GB, free: 12.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001274/0.5878, allocations: 144.1 kB / 0.6057 GB, free: 12.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5878, allocations: 0 / 0.6057 GB, free: 12.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002747/0.5881, allocations: 35.92 kB / 0.6057 GB, free: 12.37 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.001088/0.5891, allocations: 489.4 kB / 0.6062 GB, free: 12.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.5893, allocations: 67.89 kB / 0.6062 GB, free: 12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5894, allocations: 0 / 0.6062 GB, free: 12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.774e-05/0.5894, allocations: 31.98 kB / 0.6062 GB, free: 11.97 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.5897, allocations: 26.8 kB / 0.6063 GB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004446/0.5901, allocations: 246.4 kB / 0.6065 GB, free: 11.67 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.5905, allocations: 0.7082 MB / 0.6072 GB, free: 10.93 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.907e-05/0.5905, allocations: 20.55 kB / 0.6072 GB, free: 10.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.5906, allocations: 15.44 kB / 0.6072 GB, free: 10.9 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5906, allocations: 0 / 0.6072 GB, free: 10.9 MB / 426.7 MB Notification: Performance of Templates: time 0.004399/0.595, allocations: 1.69 MB / 0.6089 GB, free: 9.223 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches