Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,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.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002039/0.002043, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.067/2.067, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001099/0.001098, allocations: 86.05 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2932/0.2932, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.873e-05/2.881e-05, allocations: 8.219 kB / 418.2 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4288/0.4288, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1625/0.5914, allocations: 86.96 MB / 0.5508 GB, free: 12.34 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.5917, allocations: 71.97 kB / 0.5509 GB, free: 12.27 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02531/0.6171, allocations: 5.499 MB / 0.5563 GB, free: 6.777 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6171, allocations: 0 / 0.5563 GB, free: 6.777 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.003e-05/0.6171, allocations: 3.938 kB / 0.5563 GB, free: 6.773 MB / 395.1 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.0006078/0.6178, allocations: 406.2 kB / 0.5567 GB, free: 6.332 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.6178, allocations: 8.031 kB / 0.5567 GB, free: 6.324 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.107e-05/0.6179, allocations: 15.81 kB / 0.5567 GB, free: 6.309 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000421/0.6183, allocations: 214.8 kB / 0.5569 GB, free: 6.059 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.6184, allocations: 11.94 kB / 0.5569 GB, free: 6.047 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.6184, allocations: 3.984 kB / 0.5569 GB, free: 6.043 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.408e-05/0.6185, allocations: 16 kB / 0.5569 GB, free: 6.027 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.6186, allocations: 57.66 kB / 0.557 GB, free: 5.965 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.6187, allocations: 3.906 kB / 0.557 GB, free: 5.961 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.6187, allocations: 0 / 0.557 GB, free: 5.961 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.6187, allocations: 0 / 0.557 GB, free: 5.961 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004827/0.6192, allocations: 273.5 kB / 0.5572 GB, free: 5.656 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.6194, allocations: 58.62 kB / 0.5573 GB, free: 5.59 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.432e-05/0.6194, allocations: 20.97 kB / 0.5573 GB, free: 5.566 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.6195, allocations: 4 kB / 0.5573 GB, free: 5.562 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.6196, allocations: 63.41 kB / 0.5574 GB, free: 5.488 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.014e-06/0.6197, allocations: 0 / 0.5574 GB, free: 5.488 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006605/0.6203, allocations: 157.1 kB / 0.5575 GB, free: 5.328 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.6204, allocations: 51.41 kB / 0.5576 GB, free: 5.266 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003233/0.6207, allocations: 201.7 kB / 0.5578 GB, free: 5.055 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.6208, allocations: 29.7 kB / 0.5578 GB, free: 5.02 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.6209, allocations: 162.6 kB / 0.558 GB, free: 4.859 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.6209, allocations: 27.64 kB / 0.558 GB, free: 4.832 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.6209, allocations: 0 / 0.558 GB, free: 4.832 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.6211, allocations: 318.8 kB / 0.5583 GB, free: 4.512 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.47e-05/0.6212, allocations: 12 kB / 0.5583 GB, free: 4.5 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.012e-05/0.6213, allocations: 41.64 kB / 0.5583 GB, free: 4.453 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.339e-05/0.6214, allocations: 20 kB / 0.5584 GB, free: 4.434 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.6214, allocations: 0 / 0.5584 GB, free: 4.434 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002415/0.6216, allocations: 85.61 kB / 0.5584 GB, free: 4.344 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.6217, allocations: 4 kB / 0.5584 GB, free: 4.34 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.6217, allocations: 0 / 0.5584 GB, free: 4.34 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.6217, allocations: 0 / 0.5584 GB, free: 4.34 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.6219, allocations: 20 kB / 0.5585 GB, free: 4.32 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.6219, allocations: 4.031 kB / 0.5585 GB, free: 4.316 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.622, allocations: 11.92 kB / 0.5585 GB, free: 4.305 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.6221, allocations: 3.953 kB / 0.5585 GB, free: 4.301 MB / 395.1 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 () * 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.0001116/0.6222, allocations: 105 kB / 0.5586 GB, free: 4.191 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.6222, allocations: 11.81 kB / 0.5586 GB, free: 4.18 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003479/0.6226, allocations: 115.4 kB / 0.5587 GB, free: 4.062 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.6226, allocations: 0 / 0.5587 GB, free: 4.062 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.6226, allocations: 0 / 0.5587 GB, free: 4.062 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.6226, allocations: 4 kB / 0.5587 GB, free: 4.059 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006411/0.6233, allocations: 396 kB / 0.5591 GB, free: 3.625 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.6233, allocations: 0 / 0.5591 GB, free: 3.625 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.652e-05/0.6234, allocations: 11.98 kB / 0.5591 GB, free: 3.613 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.6234, allocations: 0 / 0.5591 GB, free: 3.613 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.6234, allocations: 4 kB / 0.5591 GB, free: 3.609 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.6235, allocations: 0 / 0.5591 GB, free: 3.609 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.6235, allocations: 0 / 0.5591 GB, free: 3.609 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/0.6238, allocations: 217.8 kB / 0.5593 GB, free: 3.371 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.847e-05/0.6239, allocations: 100.9 kB / 0.5594 GB, free: 3.254 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.624, allocations: 4.375 kB / 0.5594 GB, free: 3.25 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.6241, allocations: 0 / 0.5594 GB, free: 3.25 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.726e-05/0.6242, allocations: 11.94 kB / 0.5594 GB, free: 3.238 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.6242, allocations: 15.94 kB / 0.5594 GB, free: 3.223 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002135/0.6244, allocations: 159.2 kB / 0.5596 GB, free: 3.066 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6244, allocations: 0 / 0.5596 GB, free: 3.066 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.000381/0.6248, allocations: 39.92 kB / 0.5596 GB, free: 3.027 MB / 395.1 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) * 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.001184/0.626, allocations: 398.6 kB / 0.56 GB, free: 2.676 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.000232/0.6263, allocations: 51.98 kB / 0.56 GB, free: 2.625 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.6263, allocations: 0 / 0.56 GB, free: 2.625 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.6264, allocations: 27.94 kB / 0.5601 GB, free: 2.598 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.6269, allocations: 28.09 kB / 0.5601 GB, free: 2.566 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005666/0.6274, allocations: 219.8 kB / 0.5603 GB, free: 2.32 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.6278, allocations: 0.7118 MB / 0.561 GB, free: 1.582 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.6279, allocations: 19.42 kB / 0.561 GB, free: 1.562 MB / 395.1 MB Notification: Performance of SimCode: time 1.162e-06/0.6279, allocations: 0 / 0.561 GB, free: 1.562 MB / 395.1 MB Notification: Performance of Templates: time 0.005828/0.6338, allocations: 2.038 MB / 0.563 GB, free: 15.53 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches