Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001506, allocations: 186.8 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.069/2.069, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001208/0.001208, allocations: 100.8 kB / 270.9 MB, free: 8.363 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.5444/0.5444, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006943/0.0006944, allocations: 20 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1254, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4477/0.5731, allocations: 87.72 MB / 0.5644 GB, free: 15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003988/0.5736, allocations: 68.84 kB / 0.5645 GB, free: 14.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02642/0.6001, allocations: 5.463 MB / 0.5698 GB, free: 9.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.597e-06/0.6001, allocations: 0 / 0.5698 GB, free: 9.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.6001, allocations: 1.109 kB / 0.5698 GB, free: 9.52 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006441/0.6008, allocations: 434.3 kB / 0.5702 GB, free: 9.051 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.6009, allocations: 12.02 kB / 0.5702 GB, free: 9.039 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.647e-05/0.6009, allocations: 15.25 kB / 0.5702 GB, free: 9.027 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.6013, allocations: 207.6 kB / 0.5704 GB, free: 8.781 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.6013, allocations: 0 / 0.5704 GB, free: 8.781 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.6014, allocations: 15.47 kB / 0.5705 GB, free: 8.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.6016, allocations: 50.55 kB / 0.5705 GB, free: 8.715 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.6016, allocations: 3.984 kB / 0.5705 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.6016, allocations: 4 kB / 0.5705 GB, free: 8.707 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.6016, allocations: 5.031 kB / 0.5705 GB, free: 8.703 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.6018, allocations: 23.92 kB / 0.5705 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004532/0.6022, allocations: 284.9 kB / 0.5708 GB, free: 8.352 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.6025, allocations: 66.61 kB / 0.5709 GB, free: 8.277 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.6025, allocations: 0 / 0.5709 GB, free: 8.277 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/0.6027, allocations: 75.45 kB / 0.5709 GB, free: 8.191 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.844e-06/0.6027, allocations: 0 / 0.5709 GB, free: 8.191 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007699/0.6035, allocations: 189 kB / 0.5711 GB, free: 8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.6036, allocations: 63.36 kB / 0.5712 GB, free: 7.926 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.6039, allocations: 176.8 kB / 0.5714 GB, free: 7.746 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.6039, allocations: 29.7 kB / 0.5714 GB, free: 7.711 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.375e-05/0.604, allocations: 166.5 kB / 0.5715 GB, free: 7.547 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.604, allocations: 23.66 kB / 0.5716 GB, free: 7.523 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-06/0.6041, allocations: 0 / 0.5716 GB, free: 7.523 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.6042, allocations: 314.8 kB / 0.5719 GB, free: 7.207 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.574e-05/0.6043, allocations: 19.98 kB / 0.5719 GB, free: 7.188 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.6044, allocations: 41.7 kB / 0.5719 GB, free: 7.141 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.6045, allocations: 32.05 kB / 0.572 GB, free: 7.109 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.6046, allocations: 0 / 0.572 GB, free: 7.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002695/0.6048, allocations: 89.62 kB / 0.572 GB, free: 7.016 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.6049, allocations: 4 kB / 0.572 GB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.6049, allocations: 0 / 0.572 GB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.6049, allocations: 0 / 0.572 GB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.6051, allocations: 27.92 kB / 0.5721 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.6051, allocations: 4.031 kB / 0.5721 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.064e-05/0.6052, allocations: 7.953 kB / 0.5721 GB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.6052, allocations: 0 / 0.5721 GB, free: 6.973 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 (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.0001286/0.6053, allocations: 130.6 kB / 0.5722 GB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.6054, allocations: 11.81 kB / 0.5722 GB, free: 6.824 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003744/0.6058, allocations: 119.2 kB / 0.5723 GB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.6058, allocations: 4 kB / 0.5723 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.6058, allocations: 4.094 kB / 0.5723 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.6058, allocations: 7.922 kB / 0.5723 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006583/0.6065, allocations: 411.3 kB / 0.5727 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.6065, allocations: 3.984 kB / 0.5727 GB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.95e-05/0.6066, allocations: 12 kB / 0.5727 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.6066, allocations: 3.984 kB / 0.5728 GB, free: 6.203 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.6066, allocations: 0 / 0.5728 GB, free: 6.203 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.844e-06/0.6066, allocations: 7.953 kB / 0.5728 GB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.6066, allocations: 7.969 kB / 0.5728 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003551/0.607, allocations: 221.9 kB / 0.573 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.327e-05/0.6071, allocations: 89 kB / 0.5731 GB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.6071, allocations: 11.95 kB / 0.5731 GB, free: 5.828 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.6073, allocations: 4.375 kB / 0.5731 GB, free: 5.824 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/0.6073, allocations: 19.91 kB / 0.5731 GB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.6074, allocations: 4 kB / 0.5731 GB, free: 5.801 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002003/0.6076, allocations: 156.9 kB / 0.5733 GB, free: 5.648 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6076, allocations: 0 / 0.5733 GB, free: 5.648 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000367/0.608, allocations: 35.92 kB / 0.5733 GB, free: 5.613 MB / 394.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.001344/0.6093, allocations: 466.6 kB / 0.5737 GB, free: 5.254 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002676/0.6096, allocations: 63.89 kB / 0.5738 GB, free: 5.191 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6096, allocations: 7.938 kB / 0.5738 GB, free: 5.184 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.6097, allocations: 28.09 kB / 0.5738 GB, free: 5.156 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.6101, allocations: 31.55 kB / 0.5739 GB, free: 5.129 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006351/0.6108, allocations: 286.2 kB / 0.5741 GB, free: 4.824 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.6111, allocations: 0.7121 MB / 0.5748 GB, free: 4.086 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.439e-05/0.6112, allocations: 19.44 kB / 0.5748 GB, free: 4.066 MB / 394.7 MB Notification: Performance of SimCode: time 7.62e-07/0.6112, allocations: 0 / 0.5748 GB, free: 4.066 MB / 394.7 MB Notification: Performance of Templates: time 0.005323/0.6165, allocations: 1.958 MB / 0.5768 GB, free: 2.113 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches