Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.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.CombiTable1D.Test18,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_ModelicaTest.Tables.CombiTable1D.Test18") translateModel(ModelicaTest.Tables.CombiTable1D.Test18,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_ModelicaTest.Tables.CombiTable1D.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.0015, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008897/0.0008896, allocations: 94.14 kB / 261.7 MB, free: 1.684 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.2113/0.2113, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.681e-05/1.684e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1463, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4341/0.5804, allocations: 86.09 MB / 0.55 GB, free: 8.676 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.5808, allocations: 72.25 kB / 0.5501 GB, free: 8.641 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009647/0.5904, allocations: 4.302 MB / 0.5543 GB, free: 5.391 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.5905, allocations: 0 / 0.5543 GB, free: 5.391 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.5905, allocations: 4 kB / 0.5543 GB, free: 5.387 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003081/0.5908, allocations: 384.6 kB / 0.5547 GB, free: 4.977 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.5909, allocations: 12.03 kB / 0.5547 GB, free: 4.965 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.5909, allocations: 7.906 kB / 0.5547 GB, free: 4.957 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.5911, allocations: 183.9 kB / 0.5548 GB, free: 4.742 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.5911, allocations: 4 kB / 0.5549 GB, free: 4.738 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.5911, allocations: 0 / 0.5549 GB, free: 4.738 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.785e-05/0.5912, allocations: 30.17 kB / 0.5549 GB, free: 4.715 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.5913, allocations: 75.86 kB / 0.555 GB, free: 4.633 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.5913, allocations: 0 / 0.555 GB, free: 4.633 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.5913, allocations: 0 / 0.555 GB, free: 4.633 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.5914, allocations: 0 / 0.555 GB, free: 4.633 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.5917, allocations: 374.4 kB / 0.5553 GB, free: 4.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.5919, allocations: 75.34 kB / 0.5554 GB, free: 4.168 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.3e-05/0.5919, allocations: 24.88 kB / 0.5554 GB, free: 4.141 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.592, allocations: 2.188 kB / 0.5554 GB, free: 4.141 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.592, allocations: 42.5 kB / 0.5554 GB, free: 4.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.592, allocations: 3.938 kB / 0.5555 GB, free: 4.086 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004367/0.5924, allocations: 164.1 kB / 0.5556 GB, free: 3.945 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.5925, allocations: 110.8 kB / 0.5557 GB, free: 3.812 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.7e-05/0.5926, allocations: 124.6 kB / 0.5558 GB, free: 3.695 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.5926, allocations: 25.7 kB / 0.5559 GB, free: 3.664 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.697e-05/0.5926, allocations: 94.81 kB / 0.5559 GB, free: 3.574 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.5926, allocations: 35.23 kB / 0.556 GB, free: 3.543 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.5927, allocations: 0 / 0.556 GB, free: 3.543 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.22e-05/0.5927, allocations: 322.4 kB / 0.5563 GB, free: 3.223 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.12e-05/0.5927, allocations: 21.98 kB / 0.5563 GB, free: 3.211 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.407e-05/0.5928, allocations: 41.52 kB / 0.5563 GB, free: 3.168 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.302e-05/0.5928, allocations: 34.16 kB / 0.5564 GB, free: 3.145 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.5928, allocations: 0 / 0.5564 GB, free: 3.145 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001102/0.593, allocations: 95.69 kB / 0.5565 GB, free: 3.062 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.593, allocations: 11.98 kB / 0.5565 GB, free: 3.051 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.593, allocations: 0 / 0.5565 GB, free: 3.051 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.593, allocations: 0 / 0.5565 GB, free: 3.051 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.23e-05/0.5931, allocations: 27.92 kB / 0.5565 GB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.5931, allocations: 0 / 0.5565 GB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.598e-05/0.5932, allocations: 7.953 kB / 0.5565 GB, free: 3.016 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.5932, allocations: 4 kB / 0.5565 GB, free: 3.012 MB / 362.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: 0 () * 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 5.524e-05/0.5932, allocations: 105 kB / 0.5566 GB, free: 2.902 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.037e-05/0.5933, allocations: 8.188 kB / 0.5566 GB, free: 2.895 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.5935, allocations: 129.8 kB / 0.5568 GB, free: 2.789 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5935, allocations: 3.984 kB / 0.5568 GB, free: 2.785 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.5935, allocations: 4 kB / 0.5568 GB, free: 2.781 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.5935, allocations: 3.938 kB / 0.5568 GB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003615/0.5939, allocations: 457.1 kB / 0.5572 GB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.5939, allocations: 0 / 0.5572 GB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.396e-05/0.594, allocations: 27.92 kB / 0.5572 GB, free: 2.297 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.594, allocations: 0 / 0.5572 GB, free: 2.297 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.594, allocations: 3.188 kB / 0.5572 GB, free: 2.297 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.594, allocations: 4 kB / 0.5572 GB, free: 2.293 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.594, allocations: 3.953 kB / 0.5572 GB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.5942, allocations: 296.7 kB / 0.5575 GB, free: 1.984 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.32e-05/0.5942, allocations: 92.31 kB / 0.5576 GB, free: 1.879 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.5943, allocations: 7.953 kB / 0.5576 GB, free: 1.871 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.889e-05/0.5944, allocations: 7.984 kB / 0.5576 GB, free: 1.863 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.5944, allocations: 12 kB / 0.5576 GB, free: 1.852 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.5944, allocations: 0 / 0.5576 GB, free: 1.852 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.812e-05/0.5945, allocations: 107.6 kB / 0.5577 GB, free: 1.758 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5945, allocations: 0 / 0.5577 GB, free: 1.758 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002845/0.5948, allocations: 31.73 kB / 0.5578 GB, free: 1.73 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0007713/0.5956, allocations: 373.1 kB / 0.5581 GB, free: 1.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000149/0.5957, allocations: 59.11 kB / 0.5582 GB, free: 1.367 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5957, allocations: 0 / 0.5582 GB, free: 1.367 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.356e-05/0.5958, allocations: 31.19 kB / 0.5582 GB, free: 1.348 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.596, allocations: 15.92 kB / 0.5582 GB, free: 1.332 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.5963, allocations: 160.7 kB / 0.5584 GB, free: 1.164 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.5966, allocations: 0.7002 MB / 0.5591 GB, free: 448 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.249e-05/0.5966, allocations: 28.39 kB / 0.5591 GB, free: 420 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.937e-05/0.5967, allocations: 23.42 kB / 0.5591 GB, free: 396 kB / 362.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5967, allocations: 0 / 0.5591 GB, free: 396 kB / 362.7 MB Notification: Performance of Templates: time 0.003799/0.6005, allocations: 1.398 MB / 0.5605 GB, free: 15.01 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test18/Test18.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches