Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,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.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001072/0.001071, allocations: 176.2 kB / 16.76 MB, free: 5.031 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.724/1.724, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0008475/0.0008472, allocations: 92.5 kB / 271.3 MB, free: 8.254 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.3887/0.3887, allocations: 43.56 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003739, allocations: 12 kB / 432.6 MB, free: 4.965 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1314, allocations: 58.85 MB / 491.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3476/0.4791, allocations: 87.76 MB / 0.5657 GB, free: 14.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.4794, allocations: 79.25 kB / 0.5657 GB, free: 14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01528/0.4947, allocations: 5.701 MB / 0.5713 GB, free: 8.348 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4947, allocations: 0 / 0.5713 GB, free: 8.348 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.4947, allocations: 0 / 0.5713 GB, free: 8.348 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.0005601/0.4953, allocations: 441.8 kB / 0.5717 GB, free: 7.867 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4953, allocations: 12.03 kB / 0.5717 GB, free: 7.855 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.4954, allocations: 12.75 kB / 0.5717 GB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.4957, allocations: 237.9 kB / 0.572 GB, free: 7.574 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.4957, allocations: 4.375 kB / 0.572 GB, free: 7.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.4958, allocations: 8.359 kB / 0.572 GB, free: 7.562 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.4959, allocations: 58.22 kB / 0.572 GB, free: 7.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.4959, allocations: 4.094 kB / 0.572 GB, free: 7.496 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.4959, allocations: 3.938 kB / 0.572 GB, free: 7.492 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.496, allocations: 4 kB / 0.5721 GB, free: 7.488 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.224e-05/0.496, allocations: 19.42 kB / 0.5721 GB, free: 7.473 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.4965, allocations: 312.8 kB / 0.5724 GB, free: 7.117 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.4966, allocations: 62.61 kB / 0.5724 GB, free: 7.047 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.551e-05/0.4967, allocations: 29.53 kB / 0.5725 GB, free: 7.016 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.4967, allocations: 0 / 0.5725 GB, free: 7.016 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/0.4969, allocations: 67.39 kB / 0.5725 GB, free: 6.938 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.4969, allocations: 7.938 kB / 0.5725 GB, free: 6.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005603/0.4975, allocations: 174 kB / 0.5727 GB, free: 6.754 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.4976, allocations: 51.41 kB / 0.5727 GB, free: 6.691 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.4978, allocations: 263.7 kB / 0.573 GB, free: 6.422 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.4979, allocations: 25.7 kB / 0.573 GB, free: 6.391 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.004e-05/0.4979, allocations: 124 kB / 0.5731 GB, free: 6.266 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.498, allocations: 19.75 kB / 0.5732 GB, free: 6.246 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.498, allocations: 0 / 0.5732 GB, free: 6.246 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4981, allocations: 338.8 kB / 0.5735 GB, free: 5.906 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.446e-05/0.4982, allocations: 20 kB / 0.5735 GB, free: 5.887 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.336e-05/0.4983, allocations: 33.7 kB / 0.5735 GB, free: 5.848 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.4984, allocations: 65.77 kB / 0.5736 GB, free: 5.777 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4984, allocations: 0 / 0.5736 GB, free: 5.777 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001921/0.4986, allocations: 105.4 kB / 0.5737 GB, free: 5.668 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.4986, allocations: 8.031 kB / 0.5737 GB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4986, allocations: 0 / 0.5737 GB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.4987, allocations: 4 kB / 0.5737 GB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.547e-05/0.4988, allocations: 19.92 kB / 0.5737 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.4988, allocations: 0 / 0.5737 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.196e-05/0.4988, allocations: 8 kB / 0.5737 GB, free: 5.629 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.4989, allocations: 4 kB / 0.5737 GB, free: 5.625 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.0001245/0.499, allocations: 133.8 kB / 0.5739 GB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.499, allocations: 15.81 kB / 0.5739 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002828/0.4993, allocations: 127 kB / 0.574 GB, free: 5.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.4993, allocations: 0 / 0.574 GB, free: 5.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4993, allocations: 3.984 kB / 0.574 GB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4993, allocations: 0 / 0.574 GB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005725/0.4999, allocations: 439.1 kB / 0.5744 GB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.4999, allocations: 4.609 kB / 0.5744 GB, free: 4.844 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.726e-05/0.5, allocations: 12.03 kB / 0.5744 GB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.5, allocations: 0 / 0.5744 GB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.5, allocations: 8 kB / 0.5744 GB, free: 4.824 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.5, allocations: 384 / 0.5744 GB, free: 4.824 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.5, allocations: 7.875 kB / 0.5745 GB, free: 4.816 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.5003, allocations: 220.3 kB / 0.5747 GB, free: 4.582 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.463e-05/0.5004, allocations: 93.02 kB / 0.5748 GB, free: 4.473 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.5005, allocations: 15.98 kB / 0.5748 GB, free: 4.457 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.5005, allocations: 0 / 0.5748 GB, free: 4.457 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.5006, allocations: 11.88 kB / 0.5748 GB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.5006, allocations: 11.98 kB / 0.5748 GB, free: 4.434 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002263/0.5008, allocations: 191.3 kB / 0.575 GB, free: 4.246 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5009, allocations: 0 / 0.575 GB, free: 4.246 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002702/0.5011, allocations: 47.83 kB / 0.575 GB, free: 4.199 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.001016/0.5022, allocations: 478.8 kB / 0.5755 GB, free: 3.832 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001707/0.5023, allocations: 63.91 kB / 0.5755 GB, free: 3.77 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5023, allocations: 0 / 0.5755 GB, free: 3.77 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.364e-05/0.5024, allocations: 36.06 kB / 0.5756 GB, free: 3.734 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.5028, allocations: 33.67 kB / 0.5756 GB, free: 3.703 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005701/0.5034, allocations: 321.2 kB / 0.5759 GB, free: 3.367 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.5037, allocations: 0.716 MB / 0.5766 GB, free: 2.625 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.949e-05/0.5037, allocations: 16.55 kB / 0.5766 GB, free: 2.609 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.5038, allocations: 15.44 kB / 0.5766 GB, free: 2.598 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5038, allocations: 0 / 0.5766 GB, free: 2.598 MB / 394.7 MB Notification: Performance of Templates: time 0.004665/0.5085, allocations: 1.839 MB / 0.5784 GB, free: 0.7695 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches