Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,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.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002286/0.002285, allocations: 179.4 kB / 8.364 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.008/2.008, 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.001096/0.001096, allocations: 90.47 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.3003/0.3003, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.425e-05/2.421e-05, allocations: 8.203 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.3984, allocations: 58.85 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.165/0.5634, allocations: 87.19 MB / 0.551 GB, free: 12.13 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/0.5638, allocations: 75.95 kB / 0.5511 GB, free: 12.06 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02548/0.5893, allocations: 5.631 MB / 0.5566 GB, free: 6.434 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5893, allocations: 3.938 kB / 0.5566 GB, free: 6.43 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.5894, allocations: 0 / 0.5566 GB, free: 6.43 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.0005837/0.59, allocations: 390.2 kB / 0.557 GB, free: 6.004 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.59, allocations: 8.031 kB / 0.557 GB, free: 5.996 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.503e-05/0.5901, allocations: 7.906 kB / 0.557 GB, free: 5.988 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.5905, allocations: 214.8 kB / 0.5572 GB, free: 5.738 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.5905, allocations: 0 / 0.5572 GB, free: 5.738 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.5906, allocations: 4 kB / 0.5572 GB, free: 5.734 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.723e-05/0.5907, allocations: 15.98 kB / 0.5572 GB, free: 5.719 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.5908, allocations: 71.39 kB / 0.5573 GB, free: 5.637 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.5909, allocations: 0 / 0.5573 GB, free: 5.637 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.5909, allocations: 0 / 0.5573 GB, free: 5.637 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.5909, allocations: 0 / 0.5573 GB, free: 5.637 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.5913, allocations: 265.5 kB / 0.5576 GB, free: 5.34 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.5915, allocations: 50.62 kB / 0.5576 GB, free: 5.281 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.58e-05/0.5916, allocations: 20.98 kB / 0.5576 GB, free: 5.258 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.5916, allocations: 4 kB / 0.5576 GB, free: 5.254 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.5918, allocations: 63.39 kB / 0.5577 GB, free: 5.18 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 4.398e-06/0.5918, allocations: 0 / 0.5577 GB, free: 5.18 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.000576/0.5924, allocations: 149.1 kB / 0.5578 GB, free: 5.027 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.5925, allocations: 81.11 kB / 0.5579 GB, free: 4.93 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.5926, allocations: 144.4 kB / 0.558 GB, free: 4.785 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.5927, allocations: 29.7 kB / 0.5581 GB, free: 4.75 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.82e-05/0.5928, allocations: 154.6 kB / 0.5582 GB, free: 4.598 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.5928, allocations: 23.66 kB / 0.5582 GB, free: 4.574 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.5929, allocations: 0 / 0.5582 GB, free: 4.574 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.593, allocations: 318.8 kB / 0.5585 GB, free: 4.254 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.477e-05/0.5931, allocations: 16 kB / 0.5586 GB, free: 4.238 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.236e-05/0.5932, allocations: 46.45 kB / 0.5586 GB, free: 4.184 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.049e-05/0.5932, allocations: 24.02 kB / 0.5586 GB, free: 4.16 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5933, allocations: 0 / 0.5586 GB, free: 4.16 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000209/0.5935, allocations: 81.67 kB / 0.5587 GB, free: 4.074 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.5935, allocations: 4 kB / 0.5587 GB, free: 4.07 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.5935, allocations: 4 kB / 0.5587 GB, free: 4.066 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.5936, allocations: 3.953 kB / 0.5587 GB, free: 4.062 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.5937, allocations: 23.92 kB / 0.5587 GB, free: 4.039 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.83e-06/0.5937, allocations: 0 / 0.5587 GB, free: 4.039 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.095e-05/0.5938, allocations: 8.031 kB / 0.5588 GB, free: 4.031 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.5939, allocations: 4 kB / 0.5588 GB, free: 4.027 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 9.749e-05/0.594, allocations: 105 kB / 0.5589 GB, free: 3.918 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.594, allocations: 15.89 kB / 0.5589 GB, free: 3.902 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002966/0.5943, allocations: 106.1 kB / 0.559 GB, free: 3.793 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.5943, allocations: 4 kB / 0.559 GB, free: 3.789 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.5944, allocations: 7.938 kB / 0.559 GB, free: 3.781 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.5944, allocations: 0 / 0.559 GB, free: 3.781 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000569/0.5949, allocations: 368 kB / 0.5593 GB, free: 3.375 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.595, allocations: 0 / 0.5593 GB, free: 3.375 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.392e-05/0.5951, allocations: 12 kB / 0.5593 GB, free: 3.363 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.5951, allocations: 4 kB / 0.5593 GB, free: 3.359 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.5951, allocations: 7.938 kB / 0.5594 GB, free: 3.352 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.5951, allocations: 0 / 0.5594 GB, free: 3.352 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.5951, allocations: 0 / 0.5594 GB, free: 3.352 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.5954, allocations: 210 kB / 0.5596 GB, free: 3.121 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.275e-05/0.5955, allocations: 89.02 kB / 0.5596 GB, free: 3.016 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.264e-05/0.5956, allocations: 11.94 kB / 0.5597 GB, free: 3.004 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.5957, allocations: 4.5 kB / 0.5597 GB, free: 3 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.5958, allocations: 11.98 kB / 0.5597 GB, free: 2.988 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.5958, allocations: 4 kB / 0.5597 GB, free: 2.984 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001294/0.5959, allocations: 115.3 kB / 0.5598 GB, free: 2.871 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5959, allocations: 7.938 kB / 0.5598 GB, free: 2.863 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004188/0.5964, allocations: 35.94 kB / 0.5598 GB, free: 2.828 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.001318/0.5977, allocations: 430.9 kB / 0.5602 GB, free: 2.445 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.5979, allocations: 47.94 kB / 0.5603 GB, free: 2.398 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.5979, allocations: 0 / 0.5603 GB, free: 2.398 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.278e-05/0.598, allocations: 32.06 kB / 0.5603 GB, free: 2.367 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.5984, allocations: 27.62 kB / 0.5603 GB, free: 2.344 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004388/0.5989, allocations: 159.6 kB / 0.5605 GB, free: 2.152 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.5992, allocations: 0.7041 MB / 0.5612 GB, free: 1.422 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.012e-05/0.5993, allocations: 19.38 kB / 0.5612 GB, free: 1.402 MB / 395.1 MB Notification: Performance of SimCode: time 7.12e-07/0.5993, allocations: 4.062 kB / 0.5612 GB, free: 1.398 MB / 395.1 MB Notification: Performance of Templates: time 0.00584/0.6052, allocations: 2.057 MB / 0.5632 GB, free: 15.35 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches