Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002349/0.002349, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.192/2.192, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001145/0.001145, allocations: 96.41 kB / 270.9 MB, free: 8.383 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.5197/0.5197, allocations: 43.54 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000482/0.000482, allocations: 16 kB / 431.4 MB, free: 6.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1235, allocations: 58.85 MB / 490.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.452/0.5755, allocations: 87.94 MB / 0.5646 GB, free: 14.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.5759, allocations: 71.97 kB / 0.5647 GB, free: 14.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02697/0.6029, allocations: 6.213 MB / 0.5708 GB, free: 8.559 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.6029, allocations: 0 / 0.5708 GB, free: 8.559 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.726e-05/0.6029, allocations: 5.219 kB / 0.5708 GB, free: 8.555 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006701/0.6036, allocations: 421.8 kB / 0.5712 GB, free: 8.098 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.6037, allocations: 12.02 kB / 0.5712 GB, free: 8.086 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.632e-05/0.6037, allocations: 15.34 kB / 0.5712 GB, free: 8.074 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/0.6041, allocations: 216 kB / 0.5714 GB, free: 7.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.6042, allocations: 0 / 0.5714 GB, free: 7.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.6042, allocations: 8 kB / 0.5714 GB, free: 7.812 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.6044, allocations: 75.38 kB / 0.5715 GB, free: 7.727 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.6045, allocations: 7.938 kB / 0.5715 GB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.6045, allocations: 4 kB / 0.5715 GB, free: 7.715 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.6045, allocations: 1.031 kB / 0.5715 GB, free: 7.715 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.6047, allocations: 27.97 kB / 0.5715 GB, free: 7.688 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004939/0.6052, allocations: 300.8 kB / 0.5718 GB, free: 7.344 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.6055, allocations: 81.42 kB / 0.5719 GB, free: 7.258 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.6055, allocations: 80 / 0.5719 GB, free: 7.258 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002065/0.6057, allocations: 79.48 kB / 0.572 GB, free: 7.168 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.903e-06/0.6058, allocations: 0 / 0.572 GB, free: 7.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.000893/0.6067, allocations: 205.5 kB / 0.5721 GB, free: 6.961 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.6067, allocations: 81.06 kB / 0.5722 GB, free: 6.863 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.607, allocations: 161.5 kB / 0.5724 GB, free: 6.695 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.607, allocations: 29.7 kB / 0.5724 GB, free: 6.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.903e-05/0.6071, allocations: 154.6 kB / 0.5726 GB, free: 6.508 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.052e-05/0.6072, allocations: 35.55 kB / 0.5726 GB, free: 6.473 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-06/0.6072, allocations: 4 kB / 0.5726 GB, free: 6.469 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.6073, allocations: 310.8 kB / 0.5729 GB, free: 6.156 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.6074, allocations: 27.92 kB / 0.5729 GB, free: 6.129 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.6076, allocations: 54.5 kB / 0.573 GB, free: 6.066 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.6077, allocations: 36.02 kB / 0.573 GB, free: 6.031 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6077, allocations: 0 / 0.573 GB, free: 6.031 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003266/0.608, allocations: 110.5 kB / 0.5731 GB, free: 5.918 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.6081, allocations: 4 kB / 0.5731 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.6081, allocations: 0 / 0.5731 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.6081, allocations: 4 kB / 0.5731 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.6083, allocations: 15.98 kB / 0.5731 GB, free: 5.895 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.6083, allocations: 7.891 kB / 0.5731 GB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.508e-05/0.6084, allocations: 8.031 kB / 0.5731 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.6084, allocations: 4.078 kB / 0.5732 GB, free: 5.875 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 (11): * Single equations (assignments): 11 * 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.0001243/0.6086, allocations: 126 kB / 0.5733 GB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.6086, allocations: 7.906 kB / 0.5733 GB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004435/0.6091, allocations: 154.8 kB / 0.5734 GB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.6091, allocations: 0 / 0.5734 GB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.6091, allocations: 3.984 kB / 0.5734 GB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.6091, allocations: 11.89 kB / 0.5734 GB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007496/0.6099, allocations: 431.3 kB / 0.5739 GB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.6099, allocations: 0 / 0.5739 GB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.786e-05/0.61, allocations: 12 kB / 0.5739 GB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.61, allocations: 0 / 0.5739 GB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.6101, allocations: 4 kB / 0.5739 GB, free: 5.062 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.6101, allocations: 7.953 kB / 0.5739 GB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.6101, allocations: 0 / 0.5739 GB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004188/0.6105, allocations: 238.6 kB / 0.5741 GB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.737e-05/0.6106, allocations: 96.91 kB / 0.5742 GB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/0.6107, allocations: 7.953 kB / 0.5742 GB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.6108, allocations: 11.94 kB / 0.5742 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.6108, allocations: 7.984 kB / 0.5742 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.6109, allocations: 8 kB / 0.5742 GB, free: 4.648 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001625/0.611, allocations: 128.5 kB / 0.5744 GB, free: 4.523 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6111, allocations: 0 / 0.5744 GB, free: 4.523 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004001/0.6115, allocations: 43.94 kB / 0.5744 GB, free: 4.48 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 (11): * Single equations (assignments): 9 * 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.001447/0.6129, allocations: 0.5113 MB / 0.5749 GB, free: 4.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003344/0.6133, allocations: 75.91 kB / 0.575 GB, free: 3.996 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6133, allocations: 0 / 0.575 GB, free: 3.996 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.6135, allocations: 39.92 kB / 0.575 GB, free: 3.957 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.6138, allocations: 29.53 kB / 0.575 GB, free: 3.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006921/0.6146, allocations: 258.4 kB / 0.5753 GB, free: 3.641 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.6149, allocations: 0.7083 MB / 0.576 GB, free: 2.906 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.596e-05/0.615, allocations: 19.42 kB / 0.576 GB, free: 2.887 MB / 394.7 MB Notification: Performance of SimCode: time 1.202e-06/0.615, allocations: 4.375 kB / 0.576 GB, free: 2.883 MB / 394.7 MB Notification: Performance of Templates: time 0.005939/0.621, allocations: 2.192 MB / 0.5781 GB, free: 0.6953 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches