Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.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_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002112/0.002112, allocations: 181.2 kB / 8.366 MB, free: 0.7109 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.05/2.05, 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.001102/0.001102, allocations: 96.06 kB / 262.1 MB, free: 13.88 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.3197/0.3197, allocations: 43.49 MB / 353.6 MB, free: 2.289 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.388e-05/2.398e-05, allocations: 4 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4238, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1606/0.5845, allocations: 85.94 MB / 0.5498 GB, free: 13.38 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.5848, allocations: 75.47 kB / 0.5499 GB, free: 13.3 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01838/0.6032, allocations: 4.262 MB / 0.5541 GB, free: 9.043 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.6033, allocations: 0 / 0.5541 GB, free: 9.043 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.6033, allocations: 0 / 0.5541 GB, free: 9.043 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004872/0.6038, allocations: 370.3 kB / 0.5544 GB, free: 8.637 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.6038, allocations: 8.031 kB / 0.5544 GB, free: 8.629 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.6039, allocations: 4 kB / 0.5544 GB, free: 8.625 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.6042, allocations: 202.8 kB / 0.5546 GB, free: 8.387 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.6042, allocations: 4 kB / 0.5546 GB, free: 8.383 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.6043, allocations: 0 / 0.5546 GB, free: 8.383 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001107/0.6044, allocations: 31.92 kB / 0.5546 GB, free: 8.352 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.6046, allocations: 55.41 kB / 0.5547 GB, free: 8.285 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.6046, allocations: 3.938 kB / 0.5547 GB, free: 8.281 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.6046, allocations: 3.984 kB / 0.5547 GB, free: 8.277 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.6046, allocations: 3.938 kB / 0.5547 GB, free: 8.273 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000461/0.6051, allocations: 273.3 kB / 0.555 GB, free: 7.969 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.6052, allocations: 38.58 kB / 0.555 GB, free: 7.922 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.118e-05/0.6053, allocations: 16.98 kB / 0.555 GB, free: 7.902 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.6053, allocations: 3.984 kB / 0.555 GB, free: 7.898 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.6054, allocations: 34.5 kB / 0.5551 GB, free: 7.855 MB / 395.1 MB Notification: Performance of pre-optimization done (n=5): time 1.783e-06/0.6054, allocations: 4 kB / 0.5551 GB, free: 7.852 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006111/0.606, allocations: 125.7 kB / 0.5552 GB, free: 7.723 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/0.6061, allocations: 81.11 kB / 0.5553 GB, free: 7.625 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.6063, allocations: 128.9 kB / 0.5554 GB, free: 7.492 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.6063, allocations: 25.7 kB / 0.5554 GB, free: 7.461 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.313e-05/0.6064, allocations: 158.6 kB / 0.5556 GB, free: 7.305 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.6065, allocations: 27.55 kB / 0.5556 GB, free: 7.277 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.047e-06/0.6065, allocations: 4 kB / 0.5556 GB, free: 7.273 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.6066, allocations: 318.8 kB / 0.5559 GB, free: 6.953 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.447e-05/0.6067, allocations: 12 kB / 0.5559 GB, free: 6.941 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.179e-05/0.6068, allocations: 25.72 kB / 0.5559 GB, free: 6.91 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.915e-05/0.6068, allocations: 24.2 kB / 0.556 GB, free: 6.887 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6069, allocations: 4 kB / 0.556 GB, free: 6.883 MB / 395.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001741/0.607, allocations: 65.69 kB / 0.556 GB, free: 6.812 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.6071, allocations: 4 kB / 0.556 GB, free: 6.809 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.6071, allocations: 8.031 kB / 0.556 GB, free: 6.801 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.6071, allocations: 0 / 0.556 GB, free: 6.801 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.6073, allocations: 20.17 kB / 0.5561 GB, free: 6.781 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.6073, allocations: 4 kB / 0.5561 GB, free: 6.777 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.321e-05/0.6074, allocations: 11.89 kB / 0.5561 GB, free: 6.766 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.6075, allocations: 4 kB / 0.5561 GB, free: 6.762 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 (8): * Single equations (assignments): 8 * 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.751e-05/0.6076, allocations: 101 kB / 0.5562 GB, free: 6.656 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/0.6076, allocations: 15.89 kB / 0.5562 GB, free: 6.641 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.6079, allocations: 90.28 kB / 0.5563 GB, free: 6.551 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.6079, allocations: 0 / 0.5563 GB, free: 6.551 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.6079, allocations: 3.938 kB / 0.5563 GB, free: 6.547 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.6079, allocations: 0 / 0.5563 GB, free: 6.547 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005376/0.6085, allocations: 342.9 kB / 0.5566 GB, free: 6.168 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.6085, allocations: 0 / 0.5566 GB, free: 6.168 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.6087, allocations: 23.98 kB / 0.5566 GB, free: 6.145 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.6087, allocations: 0 / 0.5566 GB, free: 6.145 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.6087, allocations: 0 / 0.5566 GB, free: 6.145 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.6087, allocations: 0 / 0.5566 GB, free: 6.145 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6087, allocations: 0 / 0.5566 GB, free: 6.145 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.609, allocations: 179.6 kB / 0.5568 GB, free: 5.953 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.265e-05/0.6091, allocations: 93 kB / 0.5569 GB, free: 5.844 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.6091, allocations: 3.938 kB / 0.5569 GB, free: 5.84 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.6092, allocations: 8 kB / 0.5569 GB, free: 5.832 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.6093, allocations: 7.984 kB / 0.5569 GB, free: 5.824 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.6093, allocations: 0 / 0.5569 GB, free: 5.824 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001092/0.6094, allocations: 111.2 kB / 0.557 GB, free: 5.715 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.6e-07/0.6094, allocations: 0 / 0.557 GB, free: 5.715 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003669/0.6098, allocations: 27.94 kB / 0.557 GB, free: 5.688 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 (8): * Single equations (assignments): 8 * 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.001154/0.611, allocations: 381.4 kB / 0.5574 GB, free: 5.355 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001857/0.6112, allocations: 39.94 kB / 0.5574 GB, free: 5.316 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.6112, allocations: 0 / 0.5574 GB, free: 5.316 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 7.414e-05/0.6113, allocations: 31.92 kB / 0.5575 GB, free: 5.285 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.6116, allocations: 15.86 kB / 0.5575 GB, free: 5.27 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004599/0.6121, allocations: 153.8 kB / 0.5576 GB, free: 5.09 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.6124, allocations: 0.6924 MB / 0.5583 GB, free: 4.371 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.024e-05/0.6125, allocations: 19.42 kB / 0.5583 GB, free: 4.352 MB / 395.1 MB Notification: Performance of SimCode: time 1.182e-06/0.6125, allocations: 3.938 kB / 0.5583 GB, free: 4.348 MB / 395.1 MB Notification: Performance of Templates: time 0.005311/0.6179, allocations: 1.737 MB / 0.56 GB, free: 2.613 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches