Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002192/0.002192, allocations: 181.9 kB / 8.367 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.06/2.06, allocations: 205.3 MB / 214.1 MB, free: 14.08 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.001086/0.001086, allocations: 88.23 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.2954/0.2954, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.218e-05/2.225e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4079, allocations: 58.86 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1635/0.5715, allocations: 85.88 MB / 0.5498 GB, free: 13.41 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/0.5718, allocations: 67.97 kB / 0.5498 GB, free: 13.34 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01717/0.589, allocations: 3.984 MB / 0.5537 GB, free: 9.363 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.5891, allocations: 4 kB / 0.5537 GB, free: 9.359 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.5891, allocations: 0 / 0.5537 GB, free: 9.359 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.0004884/0.5896, allocations: 366.3 kB / 0.5541 GB, free: 8.957 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.5896, allocations: 8.031 kB / 0.5541 GB, free: 8.949 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/0.5897, allocations: 7.906 kB / 0.5541 GB, free: 8.941 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.59, allocations: 192.3 kB / 0.5543 GB, free: 8.715 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.59, allocations: 0 / 0.5543 GB, free: 8.715 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.5901, allocations: 4 kB / 0.5543 GB, free: 8.711 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.144e-05/0.5902, allocations: 15.98 kB / 0.5543 GB, free: 8.695 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.5903, allocations: 59.36 kB / 0.5544 GB, free: 8.625 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.5903, allocations: 3.984 kB / 0.5544 GB, free: 8.621 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.5904, allocations: 0 / 0.5544 GB, free: 8.621 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.5904, allocations: 4 kB / 0.5544 GB, free: 8.617 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.5908, allocations: 249.4 kB / 0.5546 GB, free: 8.336 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.591, allocations: 38.56 kB / 0.5546 GB, free: 8.289 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.609e-05/0.5911, allocations: 12.86 kB / 0.5546 GB, free: 8.273 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.5911, allocations: 0 / 0.5546 GB, free: 8.273 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.5911, allocations: 34.5 kB / 0.5547 GB, free: 8.23 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.5911, allocations: 0 / 0.5547 GB, free: 8.23 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004672/0.5916, allocations: 97.47 kB / 0.5548 GB, free: 8.129 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.5917, allocations: 85.11 kB / 0.5549 GB, free: 8.027 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.5919, allocations: 113.9 kB / 0.555 GB, free: 7.91 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.5919, allocations: 25.7 kB / 0.555 GB, free: 7.879 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.429e-05/0.592, allocations: 170.4 kB / 0.5552 GB, free: 7.711 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.592, allocations: 15.73 kB / 0.5552 GB, free: 7.695 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.592, allocations: 0 / 0.5552 GB, free: 7.695 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.5922, allocations: 323 kB / 0.5555 GB, free: 7.371 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.132e-05/0.5922, allocations: 8 kB / 0.5555 GB, free: 7.363 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.348e-05/0.5923, allocations: 21.72 kB / 0.5555 GB, free: 7.336 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.994e-05/0.5923, allocations: 15.98 kB / 0.5555 GB, free: 7.32 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.5923, allocations: 0 / 0.5555 GB, free: 7.32 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001275/0.5925, allocations: 49.7 kB / 0.5556 GB, free: 7.266 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.5925, allocations: 4 kB / 0.5556 GB, free: 7.262 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.5925, allocations: 0 / 0.5556 GB, free: 7.262 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.5926, allocations: 4 kB / 0.5556 GB, free: 7.258 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.5927, allocations: 11.98 kB / 0.5556 GB, free: 7.246 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.5927, allocations: 8.031 kB / 0.5556 GB, free: 7.238 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.587e-05/0.5928, allocations: 7.984 kB / 0.5556 GB, free: 7.23 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.5928, allocations: 0 / 0.5556 GB, free: 7.23 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 9.237e-05/0.5929, allocations: 112.9 kB / 0.5557 GB, free: 7.113 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.593, allocations: 3.906 kB / 0.5557 GB, free: 7.109 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.5932, allocations: 66.09 kB / 0.5558 GB, free: 7.039 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.5932, allocations: 0 / 0.5558 GB, free: 7.039 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5932, allocations: 0 / 0.5558 GB, free: 7.039 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/0.5932, allocations: 8 kB / 0.5558 GB, free: 7.031 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004618/0.5937, allocations: 303.3 kB / 0.5561 GB, free: 6.691 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.5937, allocations: 4 kB / 0.5561 GB, free: 6.688 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.5938, allocations: 15.98 kB / 0.5561 GB, free: 6.672 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.5938, allocations: 0 / 0.5561 GB, free: 6.672 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.5939, allocations: 0 / 0.5561 GB, free: 6.672 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5939, allocations: 0 / 0.5561 GB, free: 6.672 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5939, allocations: 0 / 0.5561 GB, free: 6.672 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.5941, allocations: 163.5 kB / 0.5562 GB, free: 6.496 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.825e-05/0.5942, allocations: 89 kB / 0.5563 GB, free: 6.391 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.5942, allocations: 0 / 0.5563 GB, free: 6.391 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.5943, allocations: 4 kB / 0.5563 GB, free: 6.387 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.5944, allocations: 7.984 kB / 0.5563 GB, free: 6.379 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.5944, allocations: 0 / 0.5563 GB, free: 6.379 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.5945, allocations: 115.7 kB / 0.5565 GB, free: 6.266 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5945, allocations: 7.938 kB / 0.5565 GB, free: 6.258 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003776/0.5949, allocations: 23.98 kB / 0.5565 GB, free: 6.234 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.00111/0.596, allocations: 375.9 kB / 0.5568 GB, free: 5.906 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001472/0.5962, allocations: 28 kB / 0.5569 GB, free: 5.879 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5962, allocations: 0 / 0.5569 GB, free: 5.879 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.69e-05/0.5963, allocations: 15.94 kB / 0.5569 GB, free: 5.863 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.5966, allocations: 23.8 kB / 0.5569 GB, free: 5.84 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.5969, allocations: 113.8 kB / 0.557 GB, free: 5.695 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.5973, allocations: 0.6963 MB / 0.5577 GB, free: 4.973 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.914e-05/0.5974, allocations: 15.44 kB / 0.5577 GB, free: 4.957 MB / 395.1 MB Notification: Performance of SimCode: time 7.62e-07/0.5974, allocations: 0 / 0.5577 GB, free: 4.957 MB / 395.1 MB Notification: Performance of Templates: time 0.004789/0.6022, allocations: 1.573 MB / 0.5592 GB, free: 3.387 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches