Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.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.Test30,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.CombiTable1D.Test30") translateModel(ModelicaTest.Tables.CombiTable1D.Test30,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.CombiTable1D.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0024/0.002399, 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.122/2.122, 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.00117/0.00117, allocations: 90.61 kB / 262.1 MB, free: 13.87 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.3139/0.3139, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.892e-05/1.89e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4077, allocations: 58.85 MB / 477.1 MB, free: 5.281 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1737/0.5815, allocations: 85.74 MB / 0.5496 GB, free: 13.56 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.5818, allocations: 71.97 kB / 0.5497 GB, free: 13.49 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01688/0.5987, allocations: 3.905 MB / 0.5535 GB, free: 9.594 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.5988, allocations: 0 / 0.5535 GB, free: 9.594 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.911e-05/0.5988, allocations: 4 kB / 0.5535 GB, free: 9.59 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004967/0.5993, allocations: 386.1 kB / 0.5539 GB, free: 9.172 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.5994, allocations: 12.02 kB / 0.5539 GB, free: 9.16 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/0.5994, allocations: 7.906 kB / 0.5539 GB, free: 9.152 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.5998, allocations: 205.7 kB / 0.5541 GB, free: 8.914 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.5998, allocations: 0 / 0.5541 GB, free: 8.914 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.5999, allocations: 8 kB / 0.5541 GB, free: 8.906 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.434e-05/0.6, allocations: 12 kB / 0.5541 GB, free: 8.895 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.6001, allocations: 41.69 kB / 0.5542 GB, free: 8.848 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.6001, allocations: 0 / 0.5542 GB, free: 8.848 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.6001, allocations: 0 / 0.5542 GB, free: 8.848 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.6001, allocations: 0 / 0.5542 GB, free: 8.848 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004932/0.6006, allocations: 277.3 kB / 0.5544 GB, free: 8.539 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.6009, allocations: 38.56 kB / 0.5545 GB, free: 8.492 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.8e-05/0.6009, allocations: 16.86 kB / 0.5545 GB, free: 8.473 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.601, allocations: 0 / 0.5545 GB, free: 8.473 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.601, allocations: 34.64 kB / 0.5545 GB, free: 8.43 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.601, allocations: 0 / 0.5545 GB, free: 8.43 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005149/0.6015, allocations: 109.3 kB / 0.5546 GB, free: 8.316 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.6016, allocations: 51.41 kB / 0.5547 GB, free: 8.254 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.6019, allocations: 185.2 kB / 0.5548 GB, free: 8.066 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.6019, allocations: 29.64 kB / 0.5549 GB, free: 8.031 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.459e-05/0.602, allocations: 162.6 kB / 0.555 GB, free: 7.871 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.6021, allocations: 19.73 kB / 0.555 GB, free: 7.852 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/0.6021, allocations: 0 / 0.555 GB, free: 7.852 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6022, allocations: 318.8 kB / 0.5553 GB, free: 7.531 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.53e-05/0.6023, allocations: 16 kB / 0.5554 GB, free: 7.516 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.412e-05/0.6023, allocations: 8 kB / 0.5554 GB, free: 7.508 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.25e-05/0.6024, allocations: 20.08 kB / 0.5554 GB, free: 7.488 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.6024, allocations: 0 / 0.5554 GB, free: 7.488 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001405/0.6025, allocations: 57.69 kB / 0.5554 GB, free: 7.426 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.6026, allocations: 4 kB / 0.5554 GB, free: 7.422 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.6026, allocations: 0 / 0.5554 GB, free: 7.422 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.6026, allocations: 4 kB / 0.5554 GB, free: 7.418 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.6028, allocations: 11.98 kB / 0.5555 GB, free: 7.406 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.6028, allocations: 4 kB / 0.5555 GB, free: 7.402 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.613e-05/0.6029, allocations: 8 kB / 0.5555 GB, free: 7.395 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.6029, allocations: 0 / 0.5555 GB, free: 7.395 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 (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 8.573e-05/0.603, allocations: 104.9 kB / 0.5556 GB, free: 7.285 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.058e-05/0.6031, allocations: 19.8 kB / 0.5556 GB, free: 7.266 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.6033, allocations: 82.02 kB / 0.5557 GB, free: 7.176 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.6033, allocations: 0 / 0.5557 GB, free: 7.176 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.6033, allocations: 0 / 0.5557 GB, free: 7.176 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.6033, allocations: 4 kB / 0.5557 GB, free: 7.172 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005756/0.6039, allocations: 327.1 kB / 0.556 GB, free: 6.809 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.604, allocations: 384 / 0.556 GB, free: 6.809 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.6041, allocations: 20.06 kB / 0.556 GB, free: 6.789 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.6041, allocations: 0 / 0.556 GB, free: 6.789 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.6041, allocations: 7.984 kB / 0.556 GB, free: 6.781 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.6041, allocations: 4 kB / 0.556 GB, free: 6.777 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.6041, allocations: 0 / 0.556 GB, free: 6.777 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.6044, allocations: 171.4 kB / 0.5562 GB, free: 6.594 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.878e-05/0.6045, allocations: 89 kB / 0.5563 GB, free: 6.488 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.6045, allocations: 4 kB / 0.5563 GB, free: 6.484 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.6046, allocations: 4 kB / 0.5563 GB, free: 6.48 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/0.6047, allocations: 3.984 kB / 0.5563 GB, free: 6.477 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.6047, allocations: 7.938 kB / 0.5563 GB, free: 6.469 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001958/0.6049, allocations: 152.1 kB / 0.5564 GB, free: 6.32 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6049, allocations: 4 kB / 0.5564 GB, free: 6.316 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003631/0.6053, allocations: 20 kB / 0.5565 GB, free: 6.297 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 (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.001013/0.6063, allocations: 339.7 kB / 0.5568 GB, free: 6.004 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001603/0.6065, allocations: 31.98 kB / 0.5568 GB, free: 5.973 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6065, allocations: 0 / 0.5568 GB, free: 5.973 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.177e-05/0.6066, allocations: 20 kB / 0.5568 GB, free: 5.953 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.6069, allocations: 23.23 kB / 0.5568 GB, free: 5.934 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005337/0.6075, allocations: 201.7 kB / 0.557 GB, free: 5.707 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/0.6079, allocations: 0.708 MB / 0.5577 GB, free: 4.973 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.272e-05/0.608, allocations: 11.44 kB / 0.5577 GB, free: 4.961 MB / 395.1 MB Notification: Performance of SimCode: time 7.81e-07/0.608, allocations: 0 / 0.5577 GB, free: 4.961 MB / 395.1 MB Notification: Performance of Templates: time 0.004957/0.613, allocations: 1.568 MB / 0.5593 GB, free: 3.398 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches