Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 185.2 kB / 15.76 MB, free: 6.367 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.547/1.547, 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.0009456/0.0009454, allocations: 94.86 kB / 270.2 MB, free: 13.37 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.2056/0.2056, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.0003752, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1424, allocations: 58.86 MB / 490.3 MB, free: 8.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4618/0.6043, allocations: 87.71 MB / 0.5644 GB, free: 12.15 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.6046, allocations: 78.45 kB / 0.5645 GB, free: 12.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01502/0.6197, allocations: 5.505 MB / 0.5699 GB, free: 7.449 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.6197, allocations: 0 / 0.5699 GB, free: 7.449 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.6197, allocations: 0 / 0.5699 GB, free: 7.449 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.0005699/0.6203, allocations: 440.5 kB / 0.5703 GB, free: 6.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.6203, allocations: 8.031 kB / 0.5703 GB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.738e-05/0.6204, allocations: 7.906 kB / 0.5703 GB, free: 6.965 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.6207, allocations: 221.2 kB / 0.5705 GB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.6208, allocations: 0 / 0.5705 GB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.6208, allocations: 7.562 kB / 0.5705 GB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.621, allocations: 52.67 kB / 0.5706 GB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.621, allocations: 3.938 kB / 0.5706 GB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.621, allocations: 0 / 0.5706 GB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.621, allocations: 4 kB / 0.5706 GB, free: 6.652 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.389e-05/0.6211, allocations: 23.05 kB / 0.5706 GB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.6216, allocations: 298.3 kB / 0.5709 GB, free: 6.316 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.6217, allocations: 65.16 kB / 0.5709 GB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.6218, allocations: 0 / 0.5709 GB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001509/0.6219, allocations: 73.94 kB / 0.571 GB, free: 6.176 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.6219, allocations: 0 / 0.571 GB, free: 6.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000544/0.6225, allocations: 181.6 kB / 0.5712 GB, free: 6.027 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.6225, allocations: 55.36 kB / 0.5712 GB, free: 5.961 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.6227, allocations: 194.1 kB / 0.5714 GB, free: 5.785 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.6228, allocations: 33.5 kB / 0.5715 GB, free: 5.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.625e-05/0.6228, allocations: 114.2 kB / 0.5716 GB, free: 5.648 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.6229, allocations: 23.52 kB / 0.5716 GB, free: 5.629 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/0.6229, allocations: 0 / 0.5716 GB, free: 5.629 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.623, allocations: 325.8 kB / 0.5719 GB, free: 5.309 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.551e-05/0.6231, allocations: 18.98 kB / 0.5719 GB, free: 5.297 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.221e-05/0.6231, allocations: 36.77 kB / 0.572 GB, free: 5.262 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.826e-05/0.6232, allocations: 26.62 kB / 0.572 GB, free: 5.246 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.6232, allocations: 4 kB / 0.572 GB, free: 5.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001784/0.6234, allocations: 103.2 kB / 0.5721 GB, free: 5.152 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.6234, allocations: 6.656 kB / 0.5721 GB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.6234, allocations: 0 / 0.5721 GB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.6234, allocations: 4 kB / 0.5721 GB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.26e-05/0.6235, allocations: 20.3 kB / 0.5721 GB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.6236, allocations: 0 / 0.5721 GB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.838e-05/0.6236, allocations: 11.45 kB / 0.5721 GB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.6236, allocations: 8 kB / 0.5721 GB, free: 5.109 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.0001006/0.6237, allocations: 132.9 kB / 0.5723 GB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.6238, allocations: 15.81 kB / 0.5723 GB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002633/0.624, allocations: 120.2 kB / 0.5724 GB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.6241, allocations: 0 / 0.5724 GB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6241, allocations: 0 / 0.5724 GB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.6241, allocations: 0 / 0.5724 GB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004909/0.6246, allocations: 425.4 kB / 0.5728 GB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.6246, allocations: 0 / 0.5728 GB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.836e-05/0.6246, allocations: 8 kB / 0.5728 GB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.6246, allocations: 0 / 0.5728 GB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.6247, allocations: 5.312 kB / 0.5728 GB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.6247, allocations: 11.88 kB / 0.5728 GB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.6247, allocations: 4.219 kB / 0.5728 GB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.625, allocations: 223.7 kB / 0.573 GB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.158e-05/0.6251, allocations: 95.19 kB / 0.5731 GB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.6251, allocations: 9.641 kB / 0.5731 GB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.155e-05/0.6252, allocations: 4.562 kB / 0.5731 GB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.6252, allocations: 8.859 kB / 0.5731 GB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.6253, allocations: 5 kB / 0.5732 GB, free: 4.035 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001483/0.6254, allocations: 156 kB / 0.5733 GB, free: 3.906 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6254, allocations: 0 / 0.5733 GB, free: 3.906 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000312/0.6257, allocations: 39.48 kB / 0.5733 GB, free: 3.871 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.00106/0.6268, allocations: 469.2 kB / 0.5738 GB, free: 3.473 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.627, allocations: 65.91 kB / 0.5739 GB, free: 3.422 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.627, allocations: 0 / 0.5739 GB, free: 3.422 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.059e-05/0.6271, allocations: 35.42 kB / 0.5739 GB, free: 3.395 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.6274, allocations: 23.11 kB / 0.5739 GB, free: 3.379 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/0.6279, allocations: 278.9 kB / 0.5742 GB, free: 3.098 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.6282, allocations: 0.7121 MB / 0.5749 GB, free: 2.359 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.278e-05/0.6283, allocations: 16.5 kB / 0.5749 GB, free: 2.344 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/0.6283, allocations: 26.98 kB / 0.5749 GB, free: 2.32 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.6283, allocations: 0 / 0.5749 GB, free: 2.32 MB / 378.7 MB Notification: Performance of Templates: time 0.004197/0.6325, allocations: 1.717 MB / 0.5766 GB, free: 0.6211 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches