Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001264/0.001264, allocations: 172.2 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009818/0.0009822, allocations: 89.36 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4087/0.4087, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004876/0.0004878, allocations: 16 kB / 432.6 MB, free: 4.98 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1465, allocations: 58.85 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4258/0.5724, allocations: 87.59 MB / 0.5655 GB, free: 14.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.5727, allocations: 71.97 kB / 0.5656 GB, free: 14.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01463/0.5873, allocations: 5.235 MB / 0.5707 GB, free: 8.984 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5874, allocations: 0 / 0.5707 GB, free: 8.984 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.5874, allocations: 0 / 0.5707 GB, free: 8.984 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006586/0.5881, allocations: 418 kB / 0.5711 GB, free: 8.527 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/0.5881, allocations: 12.03 kB / 0.5711 GB, free: 8.516 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.295e-05/0.5882, allocations: 9.906 kB / 0.5711 GB, free: 8.508 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.5886, allocations: 215.1 kB / 0.5713 GB, free: 8.262 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.5886, allocations: 8.312 kB / 0.5713 GB, free: 8.254 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.5886, allocations: 384 / 0.5713 GB, free: 8.254 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.5888, allocations: 50.23 kB / 0.5714 GB, free: 8.199 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.5888, allocations: 4.172 kB / 0.5714 GB, free: 8.195 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.5888, allocations: 7.938 kB / 0.5714 GB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.5888, allocations: 0 / 0.5714 GB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.739e-05/0.5889, allocations: 15.98 kB / 0.5714 GB, free: 8.172 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002781/0.5892, allocations: 185.6 kB / 0.5716 GB, free: 7.941 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.5894, allocations: 58.55 kB / 0.5716 GB, free: 7.875 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.856e-05/0.5895, allocations: 20.84 kB / 0.5716 GB, free: 7.852 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.5895, allocations: 4 kB / 0.5716 GB, free: 7.848 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.5897, allocations: 68.02 kB / 0.5717 GB, free: 7.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.894e-06/0.5897, allocations: 0 / 0.5717 GB, free: 7.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003566/0.5901, allocations: 99.19 kB / 0.5718 GB, free: 7.668 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.5901, allocations: 59.34 kB / 0.5719 GB, free: 7.598 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.5903, allocations: 178.2 kB / 0.572 GB, free: 7.414 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.5904, allocations: 29.7 kB / 0.5721 GB, free: 7.379 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/0.5904, allocations: 100.1 kB / 0.5722 GB, free: 7.277 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.5905, allocations: 15.8 kB / 0.5722 GB, free: 7.262 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-06/0.5905, allocations: 7.938 kB / 0.5722 GB, free: 7.254 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.5906, allocations: 318.8 kB / 0.5725 GB, free: 6.934 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.207e-05/0.5907, allocations: 12 kB / 0.5725 GB, free: 6.922 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.279e-05/0.5908, allocations: 34.56 kB / 0.5725 GB, free: 6.883 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.5909, allocations: 49.7 kB / 0.5726 GB, free: 6.828 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5909, allocations: 0 / 0.5726 GB, free: 6.828 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001712/0.5911, allocations: 77.53 kB / 0.5726 GB, free: 6.746 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.5911, allocations: 10.56 kB / 0.5727 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.5911, allocations: 7.984 kB / 0.5727 GB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.5911, allocations: 0 / 0.5727 GB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.157e-05/0.5912, allocations: 8.875 kB / 0.5727 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.5912, allocations: 3.938 kB / 0.5727 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.229e-05/0.5913, allocations: 4 kB / 0.5727 GB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.5913, allocations: 12.03 kB / 0.5727 GB, free: 6.703 MB / 394.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 (7): * Single equations (assignments): 7 * 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.0001229/0.5915, allocations: 128.7 kB / 0.5728 GB, free: 6.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/0.5915, allocations: 19.69 kB / 0.5728 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.5917, allocations: 94.28 kB / 0.5729 GB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.5917, allocations: 0 / 0.5729 GB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.5917, allocations: 4.062 kB / 0.5729 GB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.5918, allocations: 0 / 0.5729 GB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.5919, allocations: 193.6 kB / 0.5731 GB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.592, allocations: 4 kB / 0.5731 GB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.11e-05/0.592, allocations: 7.938 kB / 0.5731 GB, free: 6.203 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.592, allocations: 7.938 kB / 0.5731 GB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.592, allocations: 0 / 0.5731 GB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.592, allocations: 0 / 0.5731 GB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.592, allocations: 160 / 0.5731 GB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.5922, allocations: 109 kB / 0.5732 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.391e-05/0.5923, allocations: 93 kB / 0.5733 GB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.5924, allocations: 11.94 kB / 0.5733 GB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.601e-05/0.5924, allocations: 0 / 0.5733 GB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.5925, allocations: 7.984 kB / 0.5733 GB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.5925, allocations: 4 kB / 0.5733 GB, free: 5.938 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001291/0.5926, allocations: 140.8 kB / 0.5735 GB, free: 5.801 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5926, allocations: 0 / 0.5735 GB, free: 5.801 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000234/0.5929, allocations: 19.94 kB / 0.5735 GB, free: 5.781 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: 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 (6): * Single equations (assignments): 4 * 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.001074/0.5939, allocations: 436.7 kB / 0.5739 GB, free: 5.441 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001722/0.5941, allocations: 39.97 kB / 0.574 GB, free: 5.402 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.5941, allocations: 4 kB / 0.574 GB, free: 5.398 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.991e-05/0.5942, allocations: 19.94 kB / 0.574 GB, free: 5.379 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.5945, allocations: 23.97 kB / 0.574 GB, free: 5.355 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004993/0.595, allocations: 227.4 kB / 0.5742 GB, free: 5.113 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.5954, allocations: 0.6965 MB / 0.5749 GB, free: 4.391 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.623e-05/0.5954, allocations: 12.42 kB / 0.5749 GB, free: 4.379 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.5955, allocations: 15.44 kB / 0.5749 GB, free: 4.367 MB / 394.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5955, allocations: 0 / 0.5749 GB, free: 4.367 MB / 394.7 MB Notification: Performance of Templates: time 0.004659/0.6002, allocations: 1.477 MB / 0.5764 GB, free: 2.898 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches