Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001252/0.001252, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.821/1.821, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001179/0.001179, allocations: 94.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2574/0.2574, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003818/0.0003818, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1573, allocations: 58.85 MB / 490.3 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4682/0.6256, allocations: 87.72 MB / 0.5644 GB, free: 12.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/0.6259, allocations: 71.78 kB / 0.5645 GB, free: 12.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01522/0.6412, allocations: 5.451 MB / 0.5698 GB, free: 7.465 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.6412, allocations: 0 / 0.5698 GB, free: 7.465 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.6412, allocations: 4 kB / 0.5698 GB, free: 7.461 MB / 378.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.000594/0.6418, allocations: 429.6 kB / 0.5702 GB, free: 7.004 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.6419, allocations: 8.031 kB / 0.5702 GB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.774e-05/0.6419, allocations: 11.81 kB / 0.5703 GB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.6423, allocations: 218.8 kB / 0.5705 GB, free: 6.734 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.6423, allocations: 4 kB / 0.5705 GB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.6424, allocations: 0 / 0.5705 GB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.6425, allocations: 64.66 kB / 0.5705 GB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.6426, allocations: 3.984 kB / 0.5705 GB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.6426, allocations: 3.312 kB / 0.5705 GB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.6426, allocations: 4 kB / 0.5705 GB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.25e-05/0.6427, allocations: 23.05 kB / 0.5706 GB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004656/0.6432, allocations: 301.2 kB / 0.5708 GB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.6433, allocations: 56.98 kB / 0.5709 GB, free: 6.266 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.6434, allocations: 3.938 kB / 0.5709 GB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00019/0.6436, allocations: 73.94 kB / 0.571 GB, free: 6.184 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.6436, allocations: 4 kB / 0.571 GB, free: 6.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005702/0.6441, allocations: 181.1 kB / 0.5711 GB, free: 6.031 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.6442, allocations: 55.36 kB / 0.5712 GB, free: 5.965 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.6444, allocations: 174.9 kB / 0.5714 GB, free: 5.805 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.6444, allocations: 33.69 kB / 0.5714 GB, free: 5.766 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.243e-05/0.6445, allocations: 97.58 kB / 0.5715 GB, free: 5.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.6446, allocations: 26.89 kB / 0.5715 GB, free: 5.656 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/0.6446, allocations: 3.062 kB / 0.5715 GB, free: 5.656 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.6447, allocations: 326.4 kB / 0.5718 GB, free: 5.332 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.134e-05/0.6448, allocations: 25.61 kB / 0.5719 GB, free: 5.316 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.167e-05/0.6449, allocations: 32.7 kB / 0.5719 GB, free: 5.285 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.302e-05/0.6449, allocations: 29.48 kB / 0.5719 GB, free: 5.266 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.6449, allocations: 0 / 0.5719 GB, free: 5.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001858/0.6451, allocations: 104.5 kB / 0.572 GB, free: 5.176 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.6452, allocations: 4 kB / 0.572 GB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.6452, allocations: 4.031 kB / 0.572 GB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.6452, allocations: 4 kB / 0.572 GB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.023e-05/0.6453, allocations: 12 kB / 0.572 GB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.6453, allocations: 7.922 kB / 0.572 GB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.949e-05/0.6454, allocations: 7.953 kB / 0.5721 GB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.6454, allocations: 7.438 kB / 0.5721 GB, free: 5.133 MB / 378.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.000126/0.6455, allocations: 125.2 kB / 0.5722 GB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.6455, allocations: 19.12 kB / 0.5722 GB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000262/0.6458, allocations: 126.1 kB / 0.5723 GB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.6458, allocations: 0 / 0.5723 GB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.6458, allocations: 0 / 0.5723 GB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.6458, allocations: 0 / 0.5723 GB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005109/0.6464, allocations: 420.6 kB / 0.5727 GB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.6464, allocations: 0 / 0.5727 GB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.668e-05/0.6464, allocations: 8.375 kB / 0.5727 GB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.6464, allocations: 4.031 kB / 0.5727 GB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.6464, allocations: 4 kB / 0.5727 GB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.6465, allocations: 7.953 kB / 0.5727 GB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.6465, allocations: 0 / 0.5727 GB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.6467, allocations: 226.7 kB / 0.573 GB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.269e-05/0.6468, allocations: 90.83 kB / 0.573 GB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.6469, allocations: 9.266 kB / 0.5731 GB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.865e-05/0.6469, allocations: 9.234 kB / 0.5731 GB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.647, allocations: 4.75 kB / 0.5731 GB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.647, allocations: 8.734 kB / 0.5731 GB, free: 4.062 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001429/0.6471, allocations: 158.2 kB / 0.5732 GB, free: 3.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6472, allocations: 0 / 0.5732 GB, free: 3.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002643/0.6474, allocations: 31.81 kB / 0.5733 GB, free: 3.902 MB / 378.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.001049/0.6485, allocations: 471.3 kB / 0.5737 GB, free: 3.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002101/0.6487, allocations: 70.34 kB / 0.5738 GB, free: 3.445 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6487, allocations: 0 / 0.5738 GB, free: 3.445 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.267e-05/0.6488, allocations: 31.83 kB / 0.5738 GB, free: 3.422 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.6491, allocations: 33.03 kB / 0.5738 GB, free: 3.395 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004943/0.6496, allocations: 259.2 kB / 0.5741 GB, free: 3.137 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.6499, allocations: 0.7082 MB / 0.5748 GB, free: 2.402 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.623e-05/0.65, allocations: 16.53 kB / 0.5748 GB, free: 2.387 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.65, allocations: 19.12 kB / 0.5748 GB, free: 2.371 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.65, allocations: 0 / 0.5748 GB, free: 2.371 MB / 378.7 MB Notification: Performance of Templates: time 0.004734/0.6548, allocations: 1.698 MB / 0.5765 GB, free: 0.6875 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches