Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001477/0.001477, allocations: 189.2 kB / 16.41 MB, free: 5.727 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.947/1.947, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001119/0.001119, allocations: 88.44 kB / 270.9 MB, free: 8.387 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.534/0.534, allocations: 43.55 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004782/0.0004781, allocations: 16 kB / 431.4 MB, free: 5.953 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1265, allocations: 58.85 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4463/0.5729, allocations: 86.38 MB / 0.5631 GB, free: 204 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.5732, allocations: 79.23 kB / 0.5632 GB, free: 128 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01728/0.5905, allocations: 4.151 MB / 0.5672 GB, free: 12.01 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.5905, allocations: 0 / 0.5672 GB, free: 12.01 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.65e-05/0.5905, allocations: 4 kB / 0.5672 GB, free: 12.01 MB / 394.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.0005632/0.5911, allocations: 430.7 kB / 0.5676 GB, free: 11.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.5912, allocations: 16.02 kB / 0.5676 GB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.278e-05/0.5912, allocations: 15.25 kB / 0.5677 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.5916, allocations: 216.2 kB / 0.5679 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.5916, allocations: 0 / 0.5679 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.5916, allocations: 0 / 0.5679 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.5918, allocations: 53.67 kB / 0.5679 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.5918, allocations: 0 / 0.5679 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.5919, allocations: 4 kB / 0.5679 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-06/0.5919, allocations: 5.031 kB / 0.5679 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.592, allocations: 23.92 kB / 0.5679 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.5926, allocations: 304.8 kB / 0.5682 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.5928, allocations: 46.56 kB / 0.5683 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.5929, allocations: 0 / 0.5683 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.5929, allocations: 34.5 kB / 0.5683 GB, free: 10.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.5929, allocations: 0 / 0.5683 GB, free: 10.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008546/0.5938, allocations: 169.8 kB / 0.5685 GB, free: 10.56 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.5938, allocations: 59.34 kB / 0.5685 GB, free: 10.49 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004094/0.5943, allocations: 234.5 kB / 0.5688 GB, free: 10.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.5943, allocations: 29.7 kB / 0.5688 GB, free: 10.22 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.937e-05/0.5944, allocations: 170.6 kB / 0.5689 GB, free: 10.05 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.5944, allocations: 16.48 kB / 0.569 GB, free: 10.04 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.5945, allocations: 4 kB / 0.569 GB, free: 10.03 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.5946, allocations: 319 kB / 0.5693 GB, free: 9.711 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.5947, allocations: 19.98 kB / 0.5693 GB, free: 9.691 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.5949, allocations: 23.98 kB / 0.5693 GB, free: 9.668 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.595, allocations: 24.55 kB / 0.5693 GB, free: 9.645 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.595, allocations: 0 / 0.5693 GB, free: 9.645 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003084/0.5953, allocations: 79.55 kB / 0.5694 GB, free: 9.562 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.5954, allocations: 11.94 kB / 0.5694 GB, free: 9.551 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.5954, allocations: 4 kB / 0.5694 GB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.5954, allocations: 0 / 0.5694 GB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.5955, allocations: 19.92 kB / 0.5694 GB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.5956, allocations: 3.953 kB / 0.5694 GB, free: 9.523 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.823e-05/0.5957, allocations: 4 kB / 0.5695 GB, free: 9.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-06/0.5957, allocations: 0 / 0.5695 GB, free: 9.52 MB / 394.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.0001514/0.5958, allocations: 137.8 kB / 0.5696 GB, free: 9.375 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.678e-05/0.5959, allocations: 19.8 kB / 0.5696 GB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003863/0.5963, allocations: 98.66 kB / 0.5697 GB, free: 9.254 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.5963, allocations: 4 kB / 0.5697 GB, free: 9.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.5963, allocations: 0 / 0.5697 GB, free: 9.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.5964, allocations: 4.234 kB / 0.5697 GB, free: 9.246 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007459/0.5971, allocations: 391.3 kB / 0.5701 GB, free: 8.809 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.5971, allocations: 0 / 0.5701 GB, free: 8.809 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.5973, allocations: 15.98 kB / 0.5701 GB, free: 8.793 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/0.5973, allocations: 3.984 kB / 0.5701 GB, free: 8.789 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.5974, allocations: 12.38 kB / 0.5701 GB, free: 8.777 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.5974, allocations: 3.953 kB / 0.5701 GB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.5974, allocations: 4 kB / 0.5701 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.5978, allocations: 191.3 kB / 0.5703 GB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.5979, allocations: 104.9 kB / 0.5704 GB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.5979, allocations: 0 / 0.5704 GB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.5981, allocations: 12 kB / 0.5704 GB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.5981, allocations: 7.938 kB / 0.5704 GB, free: 8.426 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-06/0.5981, allocations: 4 kB / 0.5704 GB, free: 8.422 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003171/0.5985, allocations: 196.2 kB / 0.5706 GB, free: 8.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.5985, allocations: 0 / 0.5706 GB, free: 8.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003467/0.5988, allocations: 27.94 kB / 0.5706 GB, free: 8.203 MB / 394.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.001165/0.6, allocations: 416.4 kB / 0.571 GB, free: 7.887 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003433/0.6004, allocations: 51.91 kB / 0.5711 GB, free: 7.836 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6004, allocations: 0 / 0.5711 GB, free: 7.836 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.6005, allocations: 31.98 kB / 0.5711 GB, free: 7.805 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.6009, allocations: 16.17 kB / 0.5711 GB, free: 7.785 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008184/0.6017, allocations: 333.7 kB / 0.5714 GB, free: 7.434 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.6021, allocations: 0.7121 MB / 0.5721 GB, free: 6.695 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.983e-05/0.6021, allocations: 15.44 kB / 0.5722 GB, free: 6.684 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6022, allocations: 0 / 0.5722 GB, free: 6.684 MB / 394.7 MB Notification: Performance of Templates: time 0.005112/0.6073, allocations: 1.74 MB / 0.5739 GB, free: 4.941 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches