Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.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.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6") translateModel(ModelicaTest.Tables.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001545/0.001545, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001066/0.001065, allocations: 90.64 kB / 267.5 MB, free: 14.11 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.2729/0.2729, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.145e-05/3.162e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1104, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.457/0.5674, allocations: 86.71 MB / 0.5575 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.5677, allocations: 74.45 kB / 0.5575 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02838/0.5961, allocations: 7.734 MB / 0.5651 GB, free: 9.938 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5962, allocations: 3.609 kB / 0.5651 GB, free: 9.938 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.364e-05/0.5962, allocations: 16 kB / 0.5651 GB, free: 9.922 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007542/0.597, allocations: 0.5471 MB / 0.5657 GB, free: 9.348 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.597, allocations: 8.031 kB / 0.5657 GB, free: 9.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.5972, allocations: 49.89 kB / 0.5657 GB, free: 9.293 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006767/0.5979, allocations: 332.6 kB / 0.566 GB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.5979, allocations: 0 / 0.566 GB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.5979, allocations: 4 kB / 0.566 GB, free: 8.938 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.5981, allocations: 48.25 kB / 0.5661 GB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.5981, allocations: 0 / 0.5661 GB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.5981, allocations: 7.5 kB / 0.5661 GB, free: 8.887 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.5981, allocations: 0 / 0.5661 GB, free: 8.887 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.192e-05/0.5982, allocations: 19.08 kB / 0.5661 GB, free: 8.871 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007915/0.599, allocations: 436 kB / 0.5665 GB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.5991, allocations: 34.02 kB / 0.5665 GB, free: 8.414 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.319e-05/0.5992, allocations: 16.17 kB / 0.5666 GB, free: 8.398 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.5992, allocations: 7.75 kB / 0.5666 GB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.5993, allocations: 34.61 kB / 0.5666 GB, free: 8.352 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.784e-06/0.5993, allocations: 0 / 0.5666 GB, free: 8.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007486/0.6, allocations: 229.1 kB / 0.5668 GB, free: 8.141 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.6001, allocations: 55.41 kB / 0.5669 GB, free: 8.074 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/0.602, allocations: 0.7696 MB / 0.5676 GB, free: 7.477 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.6021, allocations: 29.69 kB / 0.5677 GB, free: 7.441 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.6023, allocations: 234 kB / 0.5679 GB, free: 7.281 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/0.6023, allocations: 19.53 kB / 0.5679 GB, free: 7.266 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/0.6023, allocations: 0 / 0.5679 GB, free: 7.266 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.6025, allocations: 314 kB / 0.5682 GB, free: 6.953 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.531e-05/0.6025, allocations: 19.86 kB / 0.5682 GB, free: 6.938 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.555e-05/0.6026, allocations: 26.5 kB / 0.5682 GB, free: 6.918 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.701e-05/0.6027, allocations: 15.56 kB / 0.5683 GB, free: 6.906 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.6027, allocations: 3.938 kB / 0.5683 GB, free: 6.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001923/0.6029, allocations: 66 kB / 0.5683 GB, free: 6.844 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.6029, allocations: 11.95 kB / 0.5683 GB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.603, allocations: 0 / 0.5683 GB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.603, allocations: 0 / 0.5683 GB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.6032, allocations: 27.42 kB / 0.5684 GB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.6032, allocations: 4 kB / 0.5684 GB, free: 6.805 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.6034, allocations: 11.98 kB / 0.5684 GB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.6035, allocations: 4.312 kB / 0.5684 GB, free: 6.789 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.473e-05/0.6036, allocations: 108.4 kB / 0.5685 GB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.6037, allocations: 43.44 kB / 0.5685 GB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003751/0.6041, allocations: 142.7 kB / 0.5687 GB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.6041, allocations: 4 kB / 0.5687 GB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6041, allocations: 0 / 0.5687 GB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.6041, allocations: 4 kB / 0.5687 GB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.6053, allocations: 0.5853 MB / 0.5692 GB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.6053, allocations: 3.953 kB / 0.5692 GB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.6055, allocations: 23.98 kB / 0.5693 GB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.6055, allocations: 0 / 0.5693 GB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.6056, allocations: 3.984 kB / 0.5693 GB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.6056, allocations: 4 kB / 0.5693 GB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.6056, allocations: 4 kB / 0.5693 GB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/0.6059, allocations: 207.4 kB / 0.5695 GB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003085/0.6062, allocations: 162.8 kB / 0.5696 GB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.359e-05/0.6063, allocations: 3.438 kB / 0.5696 GB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.6065, allocations: 19.98 kB / 0.5697 GB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.826e-05/0.6066, allocations: 4 kB / 0.5697 GB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.6066, allocations: 0 / 0.5697 GB, free: 5.512 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001133/0.6078, allocations: 0.631 MB / 0.5703 GB, free: 5.059 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.6078, allocations: 4 kB / 0.5703 GB, free: 5.055 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004439/0.6082, allocations: 59.23 kB / 0.5703 GB, free: 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.00109/0.6093, allocations: 366.1 kB / 0.5707 GB, free: 4.691 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.6095, allocations: 50.61 kB / 0.5707 GB, free: 4.656 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6096, allocations: 4 kB / 0.5707 GB, free: 4.652 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.472e-05/0.6096, allocations: 23 kB / 0.5708 GB, free: 4.637 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.61, allocations: 27.08 kB / 0.5708 GB, free: 4.625 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.6118, allocations: 0.7544 MB / 0.5715 GB, free: 3.922 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005676/0.6124, allocations: 0.8299 MB / 0.5723 GB, free: 3.082 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.6126, allocations: 23.69 kB / 0.5724 GB, free: 3.059 MB / 378.7 MB Notification: Performance of SimCode: time 1.233e-06/0.6126, allocations: 0 / 0.5724 GB, free: 3.059 MB / 378.7 MB Notification: Performance of Templates: time 0.01265/0.6252, allocations: 4.348 MB / 0.5766 GB, free: 14.72 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches