Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008922/0.0008922, allocations: 174.3 kB / 16.77 MB, free: 5.047 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.671/1.671, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0008591/0.0008591, allocations: 86.41 kB / 271.3 MB, free: 8.258 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.3824/0.3824, allocations: 43.56 MB / 363.1 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004259/0.0004259, allocations: 16 kB / 432.6 MB, free: 4.973 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1347, allocations: 58.84 MB / 491.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3654/0.5002, allocations: 87.77 MB / 0.5657 GB, free: 14.08 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.5005, allocations: 75.95 kB / 0.5657 GB, free: 14.01 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01526/0.5158, allocations: 5.638 MB / 0.5712 GB, free: 8.422 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5158, allocations: 0 / 0.5712 GB, free: 8.422 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.729e-05/0.5159, allocations: 12 kB / 0.5713 GB, free: 8.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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005373/0.5164, allocations: 437.8 kB / 0.5717 GB, free: 7.934 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.5165, allocations: 12.03 kB / 0.5717 GB, free: 7.922 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.939e-05/0.5165, allocations: 16.73 kB / 0.5717 GB, free: 7.906 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.5168, allocations: 228.8 kB / 0.5719 GB, free: 7.641 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.5168, allocations: 4.375 kB / 0.5719 GB, free: 7.637 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.5169, allocations: 3.281 kB / 0.5719 GB, free: 7.637 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.517, allocations: 58.17 kB / 0.572 GB, free: 7.574 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.517, allocations: 8.188 kB / 0.572 GB, free: 7.566 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.5171, allocations: 3.938 kB / 0.572 GB, free: 7.562 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.5171, allocations: 7.984 kB / 0.572 GB, free: 7.555 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.308e-05/0.5171, allocations: 23.98 kB / 0.572 GB, free: 7.531 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.5175, allocations: 304.8 kB / 0.5723 GB, free: 7.184 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.5177, allocations: 66.55 kB / 0.5724 GB, free: 7.109 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.267e-05/0.5178, allocations: 20.84 kB / 0.5724 GB, free: 7.086 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.5178, allocations: 4 kB / 0.5724 GB, free: 7.082 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/0.5179, allocations: 67.39 kB / 0.5725 GB, free: 7.004 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.024e-06/0.5179, allocations: 0 / 0.5725 GB, free: 7.004 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005249/0.5185, allocations: 177.1 kB / 0.5726 GB, free: 6.824 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.5185, allocations: 51.41 kB / 0.5727 GB, free: 6.762 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.5188, allocations: 243.8 kB / 0.5729 GB, free: 6.516 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.5188, allocations: 29.7 kB / 0.5729 GB, free: 6.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/0.5189, allocations: 108.1 kB / 0.573 GB, free: 6.371 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.5189, allocations: 27.64 kB / 0.5731 GB, free: 6.344 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/0.5189, allocations: 4 kB / 0.5731 GB, free: 6.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.519, allocations: 330.8 kB / 0.5734 GB, free: 6.008 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.466e-05/0.5191, allocations: 15.98 kB / 0.5734 GB, free: 5.992 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.334e-05/0.5192, allocations: 41.64 kB / 0.5734 GB, free: 5.945 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.5193, allocations: 65.69 kB / 0.5735 GB, free: 5.875 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.5193, allocations: 4 kB / 0.5735 GB, free: 5.871 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001796/0.5195, allocations: 101.4 kB / 0.5736 GB, free: 5.766 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.5196, allocations: 13.02 kB / 0.5736 GB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.5196, allocations: 0 / 0.5736 GB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.5196, allocations: 0 / 0.5736 GB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.966e-05/0.5197, allocations: 12 kB / 0.5736 GB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.5197, allocations: 4 kB / 0.5736 GB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.199e-05/0.5197, allocations: 8.016 kB / 0.5736 GB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.5198, allocations: 4 kB / 0.5736 GB, free: 5.727 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.000103/0.5199, allocations: 142.3 kB / 0.5738 GB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.5199, allocations: 11.81 kB / 0.5738 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.5201, allocations: 127.1 kB / 0.5739 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.5202, allocations: 0 / 0.5739 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.5202, allocations: 0 / 0.5739 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/0.5202, allocations: 0 / 0.5739 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004784/0.5207, allocations: 435.2 kB / 0.5743 GB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.5207, allocations: 0 / 0.5743 GB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.077e-05/0.5207, allocations: 11.98 kB / 0.5743 GB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.5207, allocations: 0 / 0.5743 GB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.5207, allocations: 12.31 kB / 0.5744 GB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.5208, allocations: 0 / 0.5744 GB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.5208, allocations: 7.938 kB / 0.5744 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.521, allocations: 216.2 kB / 0.5746 GB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.071e-05/0.5211, allocations: 96.92 kB / 0.5747 GB, free: 4.582 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.5211, allocations: 4 kB / 0.5747 GB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.463e-05/0.5212, allocations: 7.984 kB / 0.5747 GB, free: 4.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.5212, allocations: 7.938 kB / 0.5747 GB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.5212, allocations: 0 / 0.5747 GB, free: 4.562 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001548/0.5214, allocations: 188.2 kB / 0.5749 GB, free: 4.379 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5214, allocations: 4 kB / 0.5749 GB, free: 4.375 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002763/0.5217, allocations: 35.94 kB / 0.5749 GB, free: 4.34 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.001022/0.5227, allocations: 484 kB / 0.5754 GB, free: 3.965 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.5229, allocations: 67.91 kB / 0.5754 GB, free: 3.898 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5229, allocations: 0 / 0.5754 GB, free: 3.898 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.15e-05/0.523, allocations: 31.98 kB / 0.5755 GB, free: 3.867 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.5234, allocations: 23.98 kB / 0.5755 GB, free: 3.844 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005042/0.5239, allocations: 304.9 kB / 0.5758 GB, free: 3.523 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.5242, allocations: 0.716 MB / 0.5765 GB, free: 2.781 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.877e-05/0.5242, allocations: 25.42 kB / 0.5765 GB, free: 2.758 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.5243, allocations: 19.42 kB / 0.5765 GB, free: 2.742 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5243, allocations: 0 / 0.5765 GB, free: 2.742 MB / 394.7 MB Notification: Performance of Templates: time 0.00422/0.5285, allocations: 1.788 MB / 0.5783 GB, free: 0.9688 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches