Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002293/0.002292, allocations: 178.4 kB / 8.362 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.22/2.22, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.001641/0.001642, allocations: 81.56 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.3036/0.3036, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.539e-05/2.54e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4014, allocations: 58.85 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1603/0.5618, allocations: 85.68 MB / 0.5496 GB, free: 13.64 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/0.5622, allocations: 71.95 kB / 0.5496 GB, free: 13.57 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01839/0.5806, allocations: 4.186 MB / 0.5537 GB, free: 9.387 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5807, allocations: 0 / 0.5537 GB, free: 9.387 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.5807, allocations: 0 / 0.5537 GB, free: 9.387 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005312/0.5812, allocations: 390.2 kB / 0.5541 GB, free: 8.961 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.5813, allocations: 12.03 kB / 0.5541 GB, free: 8.949 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.419e-05/0.5814, allocations: 15.81 kB / 0.5541 GB, free: 8.934 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.5817, allocations: 210.8 kB / 0.5543 GB, free: 8.688 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.5817, allocations: 0 / 0.5543 GB, free: 8.688 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.5818, allocations: 7.938 kB / 0.5543 GB, free: 8.68 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001051/0.5819, allocations: 16 kB / 0.5544 GB, free: 8.664 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.582, allocations: 49.69 kB / 0.5544 GB, free: 8.609 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.5821, allocations: 0 / 0.5544 GB, free: 8.609 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.5821, allocations: 3.938 kB / 0.5544 GB, free: 8.605 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.5821, allocations: 3.984 kB / 0.5544 GB, free: 8.602 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005499/0.5827, allocations: 285.3 kB / 0.5547 GB, free: 8.285 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.5828, allocations: 42.56 kB / 0.5547 GB, free: 8.234 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.308e-05/0.5828, allocations: 12.98 kB / 0.5547 GB, free: 8.219 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.5829, allocations: 4 kB / 0.5547 GB, free: 8.215 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.5829, allocations: 34.56 kB / 0.5548 GB, free: 8.172 MB / 395.1 MB Notification: Performance of pre-optimization done (n=5): time 1.893e-06/0.5829, allocations: 3.938 kB / 0.5548 GB, free: 8.168 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006618/0.5836, allocations: 133.3 kB / 0.5549 GB, free: 8.031 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.5837, allocations: 51.41 kB / 0.5549 GB, free: 7.969 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/0.584, allocations: 205.4 kB / 0.5551 GB, free: 7.758 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.584, allocations: 25.7 kB / 0.5552 GB, free: 7.727 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.261e-05/0.5841, allocations: 170.4 kB / 0.5553 GB, free: 7.559 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.134e-05/0.5842, allocations: 31.64 kB / 0.5554 GB, free: 7.527 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.5842, allocations: 0 / 0.5554 GB, free: 7.527 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.5844, allocations: 319 kB / 0.5557 GB, free: 7.207 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.693e-05/0.5844, allocations: 15.94 kB / 0.5557 GB, free: 7.191 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.371e-05/0.5845, allocations: 12 kB / 0.5557 GB, free: 7.18 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.595e-05/0.5846, allocations: 16.22 kB / 0.5557 GB, free: 7.164 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5846, allocations: 0 / 0.5557 GB, free: 7.164 MB / 395.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001833/0.5848, allocations: 73.58 kB / 0.5558 GB, free: 7.086 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.5848, allocations: 8 kB / 0.5558 GB, free: 7.078 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5848, allocations: 0 / 0.5558 GB, free: 7.078 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.5848, allocations: 4 kB / 0.5558 GB, free: 7.074 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.585, allocations: 19.98 kB / 0.5558 GB, free: 7.055 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.5851, allocations: 0 / 0.5558 GB, free: 7.055 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.154e-05/0.5852, allocations: 7.953 kB / 0.5558 GB, free: 7.047 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.5852, allocations: 4 kB / 0.5558 GB, free: 7.043 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.52e-05/0.5853, allocations: 112.9 kB / 0.5559 GB, free: 6.926 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.5854, allocations: 11.91 kB / 0.5559 GB, free: 6.914 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.5857, allocations: 99.41 kB / 0.556 GB, free: 6.812 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.5857, allocations: 7.922 kB / 0.556 GB, free: 6.805 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.5857, allocations: 0 / 0.556 GB, free: 6.805 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5857, allocations: 4.188 kB / 0.556 GB, free: 6.801 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006161/0.5863, allocations: 371 kB / 0.5564 GB, free: 6.395 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5863, allocations: 0 / 0.5564 GB, free: 6.395 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.5865, allocations: 23.98 kB / 0.5564 GB, free: 6.371 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.5865, allocations: 0 / 0.5564 GB, free: 6.371 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.5866, allocations: 4 kB / 0.5564 GB, free: 6.367 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.5866, allocations: 0 / 0.5564 GB, free: 6.367 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.5866, allocations: 0 / 0.5564 GB, free: 6.367 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.5868, allocations: 179.3 kB / 0.5566 GB, free: 6.176 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.587, allocations: 96.92 kB / 0.5567 GB, free: 6.062 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.587, allocations: 0 / 0.5567 GB, free: 6.062 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.5871, allocations: 11.98 kB / 0.5567 GB, free: 6.051 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.5872, allocations: 7.984 kB / 0.5567 GB, free: 6.043 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.5872, allocations: 4 kB / 0.5567 GB, free: 6.039 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002228/0.5875, allocations: 164.2 kB / 0.5569 GB, free: 5.879 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5875, allocations: 0 / 0.5569 GB, free: 5.879 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003697/0.5878, allocations: 20 kB / 0.5569 GB, free: 5.859 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0009996/0.5889, allocations: 342.8 kB / 0.5572 GB, free: 5.562 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.5891, allocations: 43.92 kB / 0.5573 GB, free: 5.52 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5891, allocations: 0 / 0.5573 GB, free: 5.52 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.729e-05/0.5892, allocations: 23.98 kB / 0.5573 GB, free: 5.496 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.5895, allocations: 19.3 kB / 0.5573 GB, free: 5.48 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006002/0.5901, allocations: 218 kB / 0.5575 GB, free: 5.238 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.5905, allocations: 0.7236 MB / 0.5582 GB, free: 4.488 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.275e-05/0.5906, allocations: 15.44 kB / 0.5582 GB, free: 4.473 MB / 395.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5906, allocations: 0 / 0.5582 GB, free: 4.473 MB / 395.1 MB Notification: Performance of Templates: time 0.005542/0.5961, allocations: 1.77 MB / 0.56 GB, free: 2.707 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches