Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 205.3 MB / 213.7 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008193/0.0008193, allocations: 86.62 kB / 261.7 MB, free: 1.613 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2308/0.2308, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.69e-05/1.692e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1218, allocations: 58.85 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4115/0.5333, allocations: 85.59 MB / 0.5495 GB, free: 8.945 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.5336, allocations: 79.97 kB / 0.5496 GB, free: 8.941 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008435/0.5421, allocations: 3.538 MB / 0.553 GB, free: 6.242 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5421, allocations: 0 / 0.553 GB, free: 6.242 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.5421, allocations: 4 kB / 0.553 GB, free: 6.238 MB / 362.7 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.0003053/0.5424, allocations: 372.9 kB / 0.5534 GB, free: 5.836 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.5425, allocations: 12.03 kB / 0.5534 GB, free: 5.824 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.5425, allocations: 7.984 kB / 0.5534 GB, free: 5.816 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.5428, allocations: 189.6 kB / 0.5536 GB, free: 5.598 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.5428, allocations: 0 / 0.5536 GB, free: 5.598 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.5428, allocations: 3.906 kB / 0.5536 GB, free: 5.594 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.358e-05/0.5429, allocations: 14.98 kB / 0.5536 GB, free: 5.582 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.301e-05/0.543, allocations: 44.02 kB / 0.5537 GB, free: 5.539 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.543, allocations: 0 / 0.5537 GB, free: 5.539 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.543, allocations: 3.938 kB / 0.5537 GB, free: 5.535 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.543, allocations: 0 / 0.5537 GB, free: 5.535 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002851/0.5433, allocations: 249.8 kB / 0.5539 GB, free: 5.266 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.5435, allocations: 37.19 kB / 0.5539 GB, free: 5.227 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.225e-05/0.5435, allocations: 12.86 kB / 0.554 GB, free: 5.211 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.5435, allocations: 0 / 0.554 GB, free: 5.211 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.5436, allocations: 38 kB / 0.554 GB, free: 5.168 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.5436, allocations: 7.938 kB / 0.554 GB, free: 5.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003576/0.5439, allocations: 98.67 kB / 0.5541 GB, free: 5.066 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/0.544, allocations: 51.41 kB / 0.5541 GB, free: 5.004 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.5441, allocations: 142.1 kB / 0.5543 GB, free: 4.871 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.318e-06/0.5441, allocations: 25.7 kB / 0.5543 GB, free: 4.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.004e-05/0.5442, allocations: 95.58 kB / 0.5544 GB, free: 4.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.5442, allocations: 23.61 kB / 0.5544 GB, free: 4.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.5442, allocations: 0 / 0.5544 GB, free: 4.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.63e-05/0.5443, allocations: 318.6 kB / 0.5547 GB, free: 4.414 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/0.5443, allocations: 8 kB / 0.5547 GB, free: 4.406 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.495e-05/0.5443, allocations: 7.812 kB / 0.5547 GB, free: 4.402 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.266e-05/0.5443, allocations: 15.61 kB / 0.5547 GB, free: 4.391 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.5443, allocations: 4 kB / 0.5547 GB, free: 4.387 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.364e-05/0.5444, allocations: 57.3 kB / 0.5548 GB, free: 4.332 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.5444, allocations: 7.984 kB / 0.5548 GB, free: 4.324 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.5444, allocations: 0 / 0.5548 GB, free: 4.324 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.5445, allocations: 0 / 0.5548 GB, free: 4.324 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.256e-05/0.5445, allocations: 12 kB / 0.5548 GB, free: 4.312 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.5445, allocations: 0 / 0.5548 GB, free: 4.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.994e-05/0.5446, allocations: 11.98 kB / 0.5548 GB, free: 4.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.5446, allocations: 0 / 0.5548 GB, free: 4.301 MB / 362.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 (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 4.67e-05/0.5447, allocations: 109.1 kB / 0.5549 GB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.5447, allocations: 7.906 kB / 0.5549 GB, free: 4.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.5448, allocations: 73.27 kB / 0.555 GB, free: 4.117 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.5448, allocations: 0 / 0.555 GB, free: 4.117 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5448, allocations: 0 / 0.555 GB, free: 4.117 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.5448, allocations: 4 kB / 0.555 GB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.5451, allocations: 304.3 kB / 0.5553 GB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5451, allocations: 4 kB / 0.5553 GB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-05/0.5452, allocations: 15.94 kB / 0.5553 GB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5452, allocations: 384 / 0.5553 GB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.5452, allocations: 3.375 kB / 0.5553 GB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5452, allocations: 4 kB / 0.5553 GB, free: 3.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.5452, allocations: 0 / 0.5553 GB, free: 3.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.216e-05/0.5453, allocations: 157 kB / 0.5555 GB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.86e-05/0.5453, allocations: 89.08 kB / 0.5556 GB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.5454, allocations: 8 kB / 0.5556 GB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.48e-05/0.5454, allocations: 8 kB / 0.5556 GB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.5455, allocations: 3.984 kB / 0.5556 GB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.5455, allocations: 4 kB / 0.5556 GB, free: 3.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.785e-05/0.5455, allocations: 120.9 kB / 0.5557 GB, free: 3.375 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5455, allocations: 0 / 0.5557 GB, free: 3.375 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002232/0.5458, allocations: 19.94 kB / 0.5557 GB, free: 3.355 MB / 362.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 (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.0007226/0.5465, allocations: 343.1 kB / 0.5561 GB, free: 3.066 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.641e-05/0.5466, allocations: 23.06 kB / 0.5561 GB, free: 3.051 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5466, allocations: 0 / 0.5561 GB, free: 3.051 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.53e-05/0.5466, allocations: 15.5 kB / 0.5561 GB, free: 3.039 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.5469, allocations: 15 kB / 0.5561 GB, free: 3.027 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002561/0.5471, allocations: 119 kB / 0.5562 GB, free: 2.898 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.5473, allocations: 0.6963 MB / 0.5569 GB, free: 2.176 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.258e-05/0.5473, allocations: 16.16 kB / 0.5569 GB, free: 2.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.5474, allocations: 15.38 kB / 0.5569 GB, free: 2.145 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5474, allocations: 0 / 0.5569 GB, free: 2.145 MB / 362.7 MB Notification: Performance of Templates: time 0.002818/0.5502, allocations: 1.006 MB / 0.5579 GB, free: 1.16 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches