Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00237/0.00237, allocations: 180.5 kB / 17.41 MB, free: 4.402 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.786/1.786, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.0008079/0.000808, allocations: 94.41 kB / 271.9 MB, free: 8.266 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.3875/0.3875, allocations: 43.56 MB / 363.8 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.0003848, allocations: 12 kB / 432.6 MB, free: 5.656 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1371, allocations: 58.85 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3328/0.4699, allocations: 87.58 MB / 0.5655 GB, free: 14.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.4702, allocations: 79.95 kB / 0.5655 GB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01412/0.4844, allocations: 5.242 MB / 0.5707 GB, free: 9.414 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.103e-06/0.4844, allocations: 0 / 0.5707 GB, free: 9.414 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.4844, allocations: 4 kB / 0.5707 GB, free: 9.41 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.0005133/0.4849, allocations: 418 kB / 0.5711 GB, free: 8.953 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.485, allocations: 8.031 kB / 0.5711 GB, free: 8.945 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.485, allocations: 8.844 kB / 0.5711 GB, free: 8.938 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.4853, allocations: 215.2 kB / 0.5713 GB, free: 8.691 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.4853, allocations: 8.312 kB / 0.5713 GB, free: 8.684 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.4854, allocations: 4.375 kB / 0.5713 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.4855, allocations: 46.23 kB / 0.5713 GB, free: 8.629 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.4855, allocations: 192 / 0.5713 GB, free: 8.629 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.4855, allocations: 3.938 kB / 0.5713 GB, free: 8.625 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.4855, allocations: 4 kB / 0.5713 GB, free: 8.621 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.698e-05/0.4856, allocations: 15.98 kB / 0.5714 GB, free: 8.605 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002013/0.4858, allocations: 181.6 kB / 0.5715 GB, free: 8.379 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.486, allocations: 66.55 kB / 0.5716 GB, free: 8.305 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.559e-05/0.4861, allocations: 20.84 kB / 0.5716 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.4861, allocations: 0 / 0.5716 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/0.4862, allocations: 63.39 kB / 0.5717 GB, free: 8.207 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.4862, allocations: 0 / 0.5717 GB, free: 8.207 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002804/0.4865, allocations: 101.5 kB / 0.5718 GB, free: 8.102 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.4866, allocations: 55.34 kB / 0.5718 GB, free: 8.035 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.4868, allocations: 182.2 kB / 0.572 GB, free: 7.848 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.4868, allocations: 29.64 kB / 0.572 GB, free: 7.812 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.225e-05/0.4869, allocations: 100.1 kB / 0.5721 GB, free: 7.711 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.4869, allocations: 15.81 kB / 0.5721 GB, free: 7.695 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.4869, allocations: 0 / 0.5721 GB, free: 7.695 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4871, allocations: 322.8 kB / 0.5724 GB, free: 7.371 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.936e-05/0.4871, allocations: 19.98 kB / 0.5725 GB, free: 7.352 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.844e-05/0.4872, allocations: 37.69 kB / 0.5725 GB, free: 7.309 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.213e-05/0.4873, allocations: 41.7 kB / 0.5725 GB, free: 7.262 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4873, allocations: 0.75 kB / 0.5725 GB, free: 7.262 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001452/0.4875, allocations: 81.53 kB / 0.5726 GB, free: 7.176 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.4875, allocations: 7.938 kB / 0.5726 GB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4875, allocations: 4.031 kB / 0.5726 GB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.4875, allocations: 4 kB / 0.5726 GB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.459e-05/0.4876, allocations: 11.98 kB / 0.5726 GB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.4876, allocations: 5.516 kB / 0.5727 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.491e-05/0.4877, allocations: 8 kB / 0.5727 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.4877, allocations: 3.938 kB / 0.5727 GB, free: 7.133 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 9.789e-05/0.4878, allocations: 126.8 kB / 0.5728 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.4878, allocations: 19.75 kB / 0.5728 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.488, allocations: 89.98 kB / 0.5729 GB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.488, allocations: 4.375 kB / 0.5729 GB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.4881, allocations: 0 / 0.5729 GB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4881, allocations: 3.984 kB / 0.5729 GB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.4882, allocations: 189.6 kB / 0.5731 GB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.4882, allocations: 7.969 kB / 0.5731 GB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.832e-05/0.4883, allocations: 7.938 kB / 0.5731 GB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.4883, allocations: 3.938 kB / 0.5731 GB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.4883, allocations: 0 / 0.5731 GB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4883, allocations: 4 kB / 0.5731 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4883, allocations: 4 kB / 0.5731 GB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.4885, allocations: 109 kB / 0.5732 GB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.463e-05/0.4886, allocations: 89 kB / 0.5733 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.4886, allocations: 11.94 kB / 0.5733 GB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.885e-05/0.4887, allocations: 0 / 0.5733 GB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.4887, allocations: 7.984 kB / 0.5733 GB, free: 6.371 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.4887, allocations: 0 / 0.5733 GB, free: 6.371 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001224/0.4889, allocations: 148.7 kB / 0.5735 GB, free: 6.227 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4889, allocations: 0 / 0.5735 GB, free: 6.227 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002172/0.4891, allocations: 23.98 kB / 0.5735 GB, free: 6.203 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.0008776/0.49, allocations: 418.4 kB / 0.5739 GB, free: 5.879 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001544/0.4901, allocations: 43.98 kB / 0.5739 GB, free: 5.836 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4901, allocations: 0 / 0.5739 GB, free: 5.836 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.342e-05/0.4902, allocations: 27.91 kB / 0.5739 GB, free: 5.809 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.4905, allocations: 27.98 kB / 0.574 GB, free: 5.781 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004446/0.4909, allocations: 253 kB / 0.5742 GB, free: 5.508 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.4912, allocations: 0.7004 MB / 0.5749 GB, free: 4.781 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.4913, allocations: 19.44 kB / 0.5749 GB, free: 4.766 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4913, allocations: 0 / 0.5749 GB, free: 4.766 MB / 394.7 MB Notification: Performance of Templates: time 0.003339/0.4946, allocations: 1.699 MB / 0.5766 GB, free: 3.078 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches