Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001215/0.001215, allocations: 183.5 kB / 15.76 MB, free: 6.367 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.731/1.731, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001102/0.001102, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 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.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.0003519, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1429, allocations: 58.86 MB / 490.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4277/0.5707, allocations: 86.39 MB / 0.5631 GB, free: 13.36 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/0.5711, allocations: 75.72 kB / 0.5632 GB, free: 13.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01039/0.5815, allocations: 3.974 MB / 0.5671 GB, free: 9.914 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.5815, allocations: 0 / 0.5671 GB, free: 9.914 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.5815, allocations: 4 kB / 0.5671 GB, free: 9.91 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004887/0.582, allocations: 405.7 kB / 0.5675 GB, free: 9.477 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.5821, allocations: 12.02 kB / 0.5675 GB, free: 9.465 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.171e-05/0.5821, allocations: 15.81 kB / 0.5675 GB, free: 9.449 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.5824, allocations: 211 kB / 0.5677 GB, free: 9.203 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.5824, allocations: 0 / 0.5677 GB, free: 9.203 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.5824, allocations: 4 kB / 0.5677 GB, free: 9.199 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.5826, allocations: 52.36 kB / 0.5677 GB, free: 9.148 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.5826, allocations: 4 kB / 0.5678 GB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.5826, allocations: 0 / 0.5678 GB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.5826, allocations: 0 / 0.5678 GB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.793e-05/0.5827, allocations: 27.92 kB / 0.5678 GB, free: 9.121 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004274/0.5831, allocations: 290.3 kB / 0.5681 GB, free: 8.809 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.5834, allocations: 41.88 kB / 0.5681 GB, free: 8.762 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.5834, allocations: 11.98 kB / 0.5681 GB, free: 8.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.5834, allocations: 34.5 kB / 0.5681 GB, free: 8.707 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.5834, allocations: 0 / 0.5681 GB, free: 8.707 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005659/0.584, allocations: 167.2 kB / 0.5683 GB, free: 8.555 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.5841, allocations: 51.41 kB / 0.5683 GB, free: 8.492 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.5843, allocations: 209.4 kB / 0.5685 GB, free: 8.305 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.5843, allocations: 25.7 kB / 0.5686 GB, free: 8.273 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.5844, allocations: 102.4 kB / 0.5687 GB, free: 8.184 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.5844, allocations: 23.66 kB / 0.5687 GB, free: 8.164 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.5844, allocations: 0 / 0.5687 GB, free: 8.164 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.5846, allocations: 326.4 kB / 0.569 GB, free: 7.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.752e-05/0.5846, allocations: 19.67 kB / 0.569 GB, free: 7.824 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.301e-05/0.5847, allocations: 27.55 kB / 0.569 GB, free: 7.801 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.35e-05/0.5848, allocations: 23.31 kB / 0.5691 GB, free: 7.785 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.5848, allocations: 4 kB / 0.5691 GB, free: 7.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001689/0.585, allocations: 88.5 kB / 0.5692 GB, free: 7.695 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.585, allocations: 8 kB / 0.5692 GB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.585, allocations: 0 / 0.5692 GB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.585, allocations: 0 / 0.5692 GB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.383e-05/0.5851, allocations: 16 kB / 0.5692 GB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.5851, allocations: 3.984 kB / 0.5692 GB, free: 7.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.13e-05/0.5851, allocations: 4.25 kB / 0.5692 GB, free: 7.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.5852, allocations: 11.95 kB / 0.5692 GB, free: 7.652 MB / 378.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001072/0.5853, allocations: 125 kB / 0.5693 GB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.5853, allocations: 15.81 kB / 0.5693 GB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002361/0.5856, allocations: 112.6 kB / 0.5694 GB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.5856, allocations: 0 / 0.5694 GB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.5856, allocations: 0 / 0.5694 GB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.5856, allocations: 0 / 0.5694 GB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004463/0.586, allocations: 382.7 kB / 0.5698 GB, free: 7.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.5861, allocations: 0 / 0.5698 GB, free: 7.008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.476e-05/0.5861, allocations: 15.98 kB / 0.5698 GB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.5861, allocations: 0 / 0.5698 GB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.5861, allocations: 0 / 0.5698 GB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.5861, allocations: 3.938 kB / 0.5698 GB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5862, allocations: 0 / 0.5698 GB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.5864, allocations: 205.2 kB / 0.57 GB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.876e-05/0.5865, allocations: 89.02 kB / 0.5701 GB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.5865, allocations: 0 / 0.5701 GB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.786e-05/0.5866, allocations: 11.8 kB / 0.5701 GB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.5866, allocations: 4 kB / 0.5701 GB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.5866, allocations: 4 kB / 0.5701 GB, free: 6.664 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001485/0.5868, allocations: 167.7 kB / 0.5703 GB, free: 6.523 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5868, allocations: 3.938 kB / 0.5703 GB, free: 6.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002657/0.5871, allocations: 23.94 kB / 0.5703 GB, free: 6.5 MB / 378.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0009843/0.5881, allocations: 408.4 kB / 0.5707 GB, free: 6.152 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.5883, allocations: 58.09 kB / 0.5708 GB, free: 6.102 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5883, allocations: 0 / 0.5708 GB, free: 6.102 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.6e-05/0.5884, allocations: 27.92 kB / 0.5708 GB, free: 6.078 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.5886, allocations: 18.23 kB / 0.5708 GB, free: 6.066 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000582/0.5892, allocations: 260.7 kB / 0.5711 GB, free: 5.801 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.5896, allocations: 0.7082 MB / 0.5717 GB, free: 5.066 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.162e-05/0.5897, allocations: 12.19 kB / 0.5718 GB, free: 5.051 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.5897, allocations: 19.36 kB / 0.5718 GB, free: 5.031 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5897, allocations: 4 kB / 0.5718 GB, free: 5.027 MB / 378.7 MB Notification: Performance of Templates: time 0.003742/0.5935, allocations: 1.162 MB / 0.5729 GB, free: 3.883 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches