Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.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.Test4,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.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,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.CombiTable1D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002301/0.0023, allocations: 179.4 kB / 8.363 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.344/2.344, 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.001163/0.001163, allocations: 93.22 kB / 262.1 MB, free: 13.86 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.3055/0.3055, allocations: 43.48 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.413e-05/2.391e-05, allocations: 4.219 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4019, allocations: 58.86 MB / 477.1 MB, free: 5.254 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1606/0.5625, allocations: 85.85 MB / 0.5497 GB, free: 13.46 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.5629, allocations: 63.97 kB / 0.5498 GB, free: 13.4 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01844/0.5813, allocations: 4.234 MB / 0.5539 GB, free: 9.168 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5814, allocations: 0 / 0.5539 GB, free: 9.168 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.902e-05/0.5814, allocations: 0 / 0.5539 GB, free: 9.168 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005437/0.582, allocations: 394.2 kB / 0.5543 GB, free: 8.738 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.582, allocations: 12.03 kB / 0.5543 GB, free: 8.727 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.937e-05/0.5821, allocations: 11.81 kB / 0.5543 GB, free: 8.715 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.5825, allocations: 210.8 kB / 0.5545 GB, free: 8.469 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.5825, allocations: 0 / 0.5545 GB, free: 8.469 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.5826, allocations: 4 kB / 0.5545 GB, free: 8.465 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001253/0.5827, allocations: 35.88 kB / 0.5546 GB, free: 8.43 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.5829, allocations: 67.39 kB / 0.5546 GB, free: 8.352 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.5829, allocations: 4 kB / 0.5546 GB, free: 8.348 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.5829, allocations: 0 / 0.5546 GB, free: 8.348 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.5829, allocations: 0 / 0.5546 GB, free: 8.348 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006535/0.5836, allocations: 381.5 kB / 0.555 GB, free: 7.934 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/0.584, allocations: 77.22 kB / 0.5551 GB, free: 7.84 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.225e-05/0.584, allocations: 25.66 kB / 0.5551 GB, free: 7.809 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/0.5841, allocations: 0 / 0.5551 GB, free: 7.809 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.5841, allocations: 42.66 kB / 0.5551 GB, free: 7.758 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.5841, allocations: 4 kB / 0.5551 GB, free: 7.754 MB / 395.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007902/0.5849, allocations: 180.9 kB / 0.5553 GB, free: 7.57 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/0.585, allocations: 81.06 kB / 0.5554 GB, free: 7.473 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003565/0.5854, allocations: 201.5 kB / 0.5556 GB, free: 7.266 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.5854, allocations: 25.7 kB / 0.5556 GB, free: 7.234 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.854e-05/0.5855, allocations: 170.5 kB / 0.5558 GB, free: 7.066 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.678e-05/0.5856, allocations: 31.55 kB / 0.5558 GB, free: 7.035 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/0.5856, allocations: 4 kB / 0.5558 GB, free: 7.031 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5858, allocations: 318.8 kB / 0.5561 GB, free: 6.711 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.456e-05/0.5858, allocations: 20 kB / 0.5561 GB, free: 6.691 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.124e-05/0.5859, allocations: 37.64 kB / 0.5562 GB, free: 6.648 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.896e-05/0.586, allocations: 27.98 kB / 0.5562 GB, free: 6.621 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5861, allocations: 0 / 0.5562 GB, free: 6.621 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002392/0.5863, allocations: 85.67 kB / 0.5563 GB, free: 6.531 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.5863, allocations: 4 kB / 0.5563 GB, free: 6.527 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.5864, allocations: 4 kB / 0.5563 GB, free: 6.523 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.5864, allocations: 0 / 0.5563 GB, free: 6.523 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.5866, allocations: 27.92 kB / 0.5563 GB, free: 6.496 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.5866, allocations: 0 / 0.5563 GB, free: 6.496 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.5867, allocations: 19.84 kB / 0.5563 GB, free: 6.477 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.5867, allocations: 0 / 0.5563 GB, free: 6.477 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.544e-05/0.5869, allocations: 109 kB / 0.5564 GB, free: 6.363 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.124e-05/0.5869, allocations: 11.91 kB / 0.5564 GB, free: 6.352 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003567/0.5873, allocations: 131.5 kB / 0.5566 GB, free: 6.223 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.5873, allocations: 0 / 0.5566 GB, free: 6.223 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.5873, allocations: 0 / 0.5566 GB, free: 6.223 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5874, allocations: 3.938 kB / 0.5566 GB, free: 6.219 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008707/0.5882, allocations: 483.3 kB / 0.557 GB, free: 5.699 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5883, allocations: 8.078 kB / 0.557 GB, free: 5.691 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.5885, allocations: 27.91 kB / 0.5571 GB, free: 5.664 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/0.5885, allocations: 4 kB / 0.5571 GB, free: 5.66 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.5885, allocations: 0 / 0.5571 GB, free: 5.66 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.5885, allocations: 0 / 0.5571 GB, free: 5.66 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/0.5885, allocations: 7.953 kB / 0.5571 GB, free: 5.652 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.5889, allocations: 307 kB / 0.5574 GB, free: 5.32 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.883e-05/0.589, allocations: 93.02 kB / 0.5575 GB, free: 5.211 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.5891, allocations: 7.953 kB / 0.5575 GB, free: 5.203 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.5893, allocations: 7.984 kB / 0.5575 GB, free: 5.195 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.5893, allocations: 7.984 kB / 0.5575 GB, free: 5.188 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.5894, allocations: 4 kB / 0.5575 GB, free: 5.184 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002271/0.5896, allocations: 164.2 kB / 0.5576 GB, free: 5.023 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5896, allocations: 0 / 0.5576 GB, free: 5.023 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004405/0.5901, allocations: 24 kB / 0.5577 GB, free: 5 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001024/0.5911, allocations: 342.4 kB / 0.558 GB, free: 4.691 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002378/0.5914, allocations: 59.98 kB / 0.5581 GB, free: 4.633 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.5914, allocations: 0 / 0.5581 GB, free: 4.633 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 9.2e-05/0.5915, allocations: 39.92 kB / 0.5581 GB, free: 4.594 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.5919, allocations: 19.28 kB / 0.5581 GB, free: 4.578 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006648/0.5926, allocations: 252.1 kB / 0.5584 GB, free: 4.297 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.593, allocations: 0.7197 MB / 0.5591 GB, free: 3.551 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.5931, allocations: 23.42 kB / 0.5591 GB, free: 3.527 MB / 395.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5931, allocations: 0 / 0.5591 GB, free: 3.527 MB / 395.1 MB Notification: Performance of Templates: time 0.00566/0.5988, allocations: 1.869 MB / 0.5609 GB, free: 1.66 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches