Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002214/0.002214, 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.154/2.154, 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.001098/0.001098, allocations: 83.16 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.2929/0.2929, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.43e-05/2.439e-05, allocations: 4 kB / 418.2 MB, free: 41.06 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4138/0.4138, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1608/0.5747, allocations: 85.65 MB / 0.5495 GB, free: 13.68 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/0.575, allocations: 83.45 kB / 0.5496 GB, free: 13.61 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01735/0.5924, allocations: 3.928 MB / 0.5534 GB, free: 9.684 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5925, allocations: 0 / 0.5534 GB, free: 9.684 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.5925, allocations: 3.938 kB / 0.5534 GB, free: 9.68 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.0005435/0.5931, allocations: 390.2 kB / 0.5538 GB, free: 9.254 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.5931, allocations: 8.031 kB / 0.5538 GB, free: 9.246 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.5932, allocations: 11.91 kB / 0.5538 GB, free: 9.234 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.5935, allocations: 203.5 kB / 0.554 GB, free: 8.992 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.5936, allocations: 4 kB / 0.554 GB, free: 8.988 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.5936, allocations: 0 / 0.554 GB, free: 8.988 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.284e-05/0.5937, allocations: 12 kB / 0.554 GB, free: 8.977 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.5938, allocations: 49.62 kB / 0.5541 GB, free: 8.922 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.5938, allocations: 0 / 0.5541 GB, free: 8.922 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.5939, allocations: 0 / 0.5541 GB, free: 8.922 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.5939, allocations: 3.938 kB / 0.5541 GB, free: 8.918 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.5943, allocations: 265.4 kB / 0.5544 GB, free: 8.621 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.5946, allocations: 38.56 kB / 0.5544 GB, free: 8.574 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.968e-05/0.5946, allocations: 12.86 kB / 0.5544 GB, free: 8.559 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.5947, allocations: 0 / 0.5544 GB, free: 8.559 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.5947, allocations: 38.5 kB / 0.5544 GB, free: 8.512 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.5947, allocations: 0 / 0.5544 GB, free: 8.512 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004987/0.5952, allocations: 105.4 kB / 0.5545 GB, free: 8.402 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.5953, allocations: 55.41 kB / 0.5546 GB, free: 8.336 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003205/0.5956, allocations: 197.5 kB / 0.5548 GB, free: 8.133 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.5956, allocations: 29.64 kB / 0.5548 GB, free: 8.098 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.897e-05/0.5958, allocations: 166.5 kB / 0.555 GB, free: 7.934 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.5958, allocations: 15.75 kB / 0.555 GB, free: 7.918 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/0.5958, allocations: 0 / 0.555 GB, free: 7.918 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.596, allocations: 318.7 kB / 0.5553 GB, free: 7.598 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.281e-05/0.596, allocations: 12 kB / 0.5553 GB, free: 7.586 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.339e-05/0.5961, allocations: 15.98 kB / 0.5553 GB, free: 7.57 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.211e-05/0.5961, allocations: 8.156 kB / 0.5553 GB, free: 7.562 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5961, allocations: 0 / 0.5553 GB, free: 7.562 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001421/0.5963, allocations: 49.7 kB / 0.5554 GB, free: 7.508 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.5963, allocations: 7.984 kB / 0.5554 GB, free: 7.5 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.5963, allocations: 0 / 0.5554 GB, free: 7.5 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.397e-05/0.5964, allocations: 4 kB / 0.5554 GB, free: 7.496 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.5965, allocations: 12 kB / 0.5554 GB, free: 7.484 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.5965, allocations: 0 / 0.5554 GB, free: 7.484 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.403e-05/0.5966, allocations: 11.98 kB / 0.5554 GB, free: 7.473 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.5966, allocations: 0 / 0.5554 GB, free: 7.473 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.457e-05/0.5968, allocations: 112.9 kB / 0.5555 GB, free: 7.355 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.866e-05/0.5968, allocations: 7.906 kB / 0.5555 GB, free: 7.348 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.597, allocations: 79.19 kB / 0.5556 GB, free: 7.266 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.5971, allocations: 4.141 kB / 0.5556 GB, free: 7.262 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5971, allocations: 0 / 0.5556 GB, free: 7.262 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5971, allocations: 7.984 kB / 0.5556 GB, free: 7.254 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005167/0.5976, allocations: 323.3 kB / 0.5559 GB, free: 6.895 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5976, allocations: 64 / 0.5559 GB, free: 6.895 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.5978, allocations: 23.98 kB / 0.5559 GB, free: 6.871 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.5978, allocations: 0 / 0.5559 GB, free: 6.871 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.5978, allocations: 0 / 0.5559 GB, free: 6.871 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5978, allocations: 4 kB / 0.5559 GB, free: 6.867 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5978, allocations: 0 / 0.5559 GB, free: 6.867 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.598, allocations: 163.4 kB / 0.5561 GB, free: 6.691 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.73e-05/0.5982, allocations: 97 kB / 0.5562 GB, free: 6.578 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.5982, allocations: 3.938 kB / 0.5562 GB, free: 6.574 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.5983, allocations: 8 kB / 0.5562 GB, free: 6.566 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.5984, allocations: 3.984 kB / 0.5562 GB, free: 6.562 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.5984, allocations: 3.938 kB / 0.5562 GB, free: 6.559 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002096/0.5986, allocations: 155.2 kB / 0.5564 GB, free: 6.406 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5986, allocations: 4 kB / 0.5564 GB, free: 6.402 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003595/0.599, allocations: 20 kB / 0.5564 GB, free: 6.383 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.0009942/0.6, allocations: 327 kB / 0.5567 GB, free: 6.102 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001334/0.6002, allocations: 24 kB / 0.5567 GB, free: 6.078 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.6002, allocations: 4 kB / 0.5567 GB, free: 6.074 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.643e-05/0.6002, allocations: 19.94 kB / 0.5567 GB, free: 6.055 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.6006, allocations: 35.08 kB / 0.5568 GB, free: 6.023 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005323/0.6012, allocations: 190.3 kB / 0.557 GB, free: 5.812 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.6015, allocations: 0.7158 MB / 0.5576 GB, free: 5.07 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.556e-05/0.6016, allocations: 15.42 kB / 0.5577 GB, free: 5.055 MB / 395.1 MB Notification: Performance of SimCode: time 1.012e-06/0.6016, allocations: 0 / 0.5577 GB, free: 5.055 MB / 395.1 MB Notification: Performance of Templates: time 0.00489/0.6065, allocations: 1.602 MB / 0.5592 GB, free: 3.457 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches