Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001815/0.001815, allocations: 177.3 kB / 17.41 MB, free: 4.289 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.409/1.409, allocations: 205.4 MB / 223.6 MB, free: 9.039 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.0007535/0.0007535, allocations: 97.3 kB / 271.9 MB, free: 8.281 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.3114/0.3114, allocations: 43.55 MB / 363.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003502, allocations: 12 kB / 432.6 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1094, allocations: 58.86 MB / 491.5 MB, free: 10.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2859/0.3953, allocations: 87.76 MB / 0.5656 GB, free: 14.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.3956, allocations: 71.97 kB / 0.5657 GB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0147/0.4103, allocations: 5.394 MB / 0.571 GB, free: 9.258 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4104, allocations: 0 / 0.571 GB, free: 9.258 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.4104, allocations: 0 / 0.571 GB, free: 9.258 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.0005724/0.411, allocations: 418 kB / 0.5714 GB, free: 8.801 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.775e-05/0.411, allocations: 8.031 kB / 0.5714 GB, free: 8.793 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.4111, allocations: 8.844 kB / 0.5714 GB, free: 8.785 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.4114, allocations: 223 kB / 0.5716 GB, free: 8.531 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.4115, allocations: 8.375 kB / 0.5716 GB, free: 8.523 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.4115, allocations: 4.375 kB / 0.5716 GB, free: 8.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.4117, allocations: 54.23 kB / 0.5717 GB, free: 8.461 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.4117, allocations: 192 / 0.5717 GB, free: 8.461 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.4117, allocations: 7.938 kB / 0.5717 GB, free: 8.453 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.4117, allocations: 6.656 kB / 0.5717 GB, free: 8.449 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.142e-05/0.4118, allocations: 19.98 kB / 0.5717 GB, free: 8.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000424/0.4123, allocations: 292.9 kB / 0.572 GB, free: 8.094 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.4124, allocations: 70.53 kB / 0.5721 GB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.888e-05/0.4125, allocations: 20.86 kB / 0.5721 GB, free: 7.992 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.4125, allocations: 4 kB / 0.5721 GB, free: 7.988 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/0.4127, allocations: 67.38 kB / 0.5721 GB, free: 7.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.4127, allocations: 0 / 0.5721 GB, free: 7.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006144/0.4134, allocations: 177.2 kB / 0.5723 GB, free: 7.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.4134, allocations: 51.41 kB / 0.5724 GB, free: 7.668 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.4136, allocations: 186.2 kB / 0.5725 GB, free: 7.477 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.4136, allocations: 25.7 kB / 0.5726 GB, free: 7.445 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.121e-05/0.4137, allocations: 100.1 kB / 0.5727 GB, free: 7.344 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.4138, allocations: 27.64 kB / 0.5727 GB, free: 7.316 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-06/0.4138, allocations: 3.938 kB / 0.5727 GB, free: 7.312 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4139, allocations: 334.8 kB / 0.573 GB, free: 6.977 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.106e-05/0.414, allocations: 19.98 kB / 0.573 GB, free: 6.957 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.604e-05/0.4141, allocations: 33.7 kB / 0.5731 GB, free: 6.918 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.4142, allocations: 61.7 kB / 0.5731 GB, free: 6.852 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4142, allocations: 0 / 0.5731 GB, free: 6.852 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001951/0.4144, allocations: 106.2 kB / 0.5732 GB, free: 6.742 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.4144, allocations: 12.02 kB / 0.5732 GB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.4144, allocations: 0 / 0.5732 GB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.4145, allocations: 0.8438 kB / 0.5732 GB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.826e-05/0.4145, allocations: 16 kB / 0.5732 GB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.4146, allocations: 3.938 kB / 0.5732 GB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.756e-05/0.4146, allocations: 7.984 kB / 0.5733 GB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.4146, allocations: 0 / 0.5733 GB, free: 6.703 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.0001109/0.4147, allocations: 129.8 kB / 0.5734 GB, free: 6.566 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.4148, allocations: 11.91 kB / 0.5734 GB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002809/0.4151, allocations: 130.6 kB / 0.5735 GB, free: 6.418 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.4151, allocations: 3.984 kB / 0.5735 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4151, allocations: 0 / 0.5735 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4151, allocations: 0 / 0.5735 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004987/0.4156, allocations: 411.6 kB / 0.5739 GB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4156, allocations: 0 / 0.5739 GB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.953e-05/0.4157, allocations: 19.94 kB / 0.5739 GB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4157, allocations: 4.031 kB / 0.5739 GB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.4157, allocations: 3.984 kB / 0.5739 GB, free: 5.926 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.4157, allocations: 4 kB / 0.5739 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4157, allocations: 3.938 kB / 0.5739 GB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.416, allocations: 208.1 kB / 0.5741 GB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.688e-05/0.4161, allocations: 93 kB / 0.5742 GB, free: 5.586 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.4161, allocations: 4 kB / 0.5742 GB, free: 5.582 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.871e-05/0.4162, allocations: 4 kB / 0.5742 GB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.4163, allocations: 15.92 kB / 0.5743 GB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.4163, allocations: 4 kB / 0.5743 GB, free: 5.559 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000135/0.4164, allocations: 144.8 kB / 0.5744 GB, free: 5.418 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4164, allocations: 3.938 kB / 0.5744 GB, free: 5.414 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002759/0.4167, allocations: 35.94 kB / 0.5744 GB, free: 5.379 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.001125/0.4178, allocations: 469.6 kB / 0.5749 GB, free: 5.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.418, allocations: 63.91 kB / 0.5749 GB, free: 4.957 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.418, allocations: 0 / 0.5749 GB, free: 4.957 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.47e-05/0.4181, allocations: 35.97 kB / 0.575 GB, free: 4.922 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.4185, allocations: 27.7 kB / 0.575 GB, free: 4.898 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004754/0.4189, allocations: 282.5 kB / 0.5753 GB, free: 4.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.4193, allocations: 0.7043 MB / 0.576 GB, free: 3.859 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.466e-05/0.4193, allocations: 23.42 kB / 0.576 GB, free: 3.836 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4193, allocations: 0 / 0.576 GB, free: 3.836 MB / 394.7 MB Notification: Performance of Templates: time 0.003536/0.4229, allocations: 1.904 MB / 0.5778 GB, free: 1.938 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches