Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009261/0.0009262, allocations: 176.7 kB / 8.008 MB, free: 1.066 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.581/1.581, allocations: 205.3 MB / 213.7 MB, free: 1.742 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.0008435/0.0008435, allocations: 86.22 kB / 261.7 MB, free: 1.684 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.2082/0.2082, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.073e-05/2.068e-05, allocations: 4 kB / 418.3 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1193, allocations: 58.86 MB / 477.1 MB, free: 1.652 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4134/0.5328, allocations: 85.62 MB / 0.5496 GB, free: 9.016 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.5331, allocations: 71.41 kB / 0.5496 GB, free: 9.008 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008595/0.5417, allocations: 4.114 MB / 0.5536 GB, free: 5.734 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.5417, allocations: 0 / 0.5536 GB, free: 5.734 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.5417, allocations: 3.938 kB / 0.5536 GB, free: 5.73 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.0002718/0.542, allocations: 397.5 kB / 0.554 GB, free: 5.309 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.542, allocations: 8.031 kB / 0.554 GB, free: 5.301 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.5421, allocations: 11.81 kB / 0.554 GB, free: 5.289 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.5423, allocations: 225.8 kB / 0.5543 GB, free: 5.039 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.5423, allocations: 0 / 0.5543 GB, free: 5.039 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.5423, allocations: 7.984 kB / 0.5543 GB, free: 5.031 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.041e-05/0.5424, allocations: 8 kB / 0.5543 GB, free: 5.023 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.854e-05/0.5425, allocations: 37.45 kB / 0.5543 GB, free: 4.984 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.5425, allocations: 3.984 kB / 0.5543 GB, free: 4.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.5425, allocations: 4 kB / 0.5543 GB, free: 4.977 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.5425, allocations: 4 kB / 0.5543 GB, free: 4.973 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000259/0.5428, allocations: 275 kB / 0.5546 GB, free: 4.688 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.5429, allocations: 37.31 kB / 0.5546 GB, free: 4.645 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.099e-05/0.5429, allocations: 12.61 kB / 0.5546 GB, free: 4.633 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.543, allocations: 0 / 0.5546 GB, free: 4.633 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.174e-05/0.543, allocations: 34.56 kB / 0.5547 GB, free: 4.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 6.842e-06/0.543, allocations: 0 / 0.5547 GB, free: 4.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003412/0.5433, allocations: 110.7 kB / 0.5548 GB, free: 4.488 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.558e-05/0.5434, allocations: 59.36 kB / 0.5548 GB, free: 4.418 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.5436, allocations: 225.1 kB / 0.555 GB, free: 4.227 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.774e-06/0.5436, allocations: 29.64 kB / 0.5551 GB, free: 4.191 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.672e-05/0.5436, allocations: 121.2 kB / 0.5552 GB, free: 4.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.5436, allocations: 19.66 kB / 0.5552 GB, free: 4.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.5436, allocations: 0 / 0.5552 GB, free: 4.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.617e-05/0.5437, allocations: 325.2 kB / 0.5555 GB, free: 3.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.5437, allocations: 7.375 kB / 0.5555 GB, free: 3.746 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.35e-05/0.5437, allocations: 7.312 kB / 0.5555 GB, free: 3.742 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.208e-05/0.5438, allocations: 15.52 kB / 0.5555 GB, free: 3.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.5438, allocations: 0 / 0.5555 GB, free: 3.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.258e-05/0.5439, allocations: 60.48 kB / 0.5556 GB, free: 3.672 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.5439, allocations: 4 kB / 0.5556 GB, free: 3.668 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.5439, allocations: 4 kB / 0.5556 GB, free: 3.664 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.5439, allocations: 4 kB / 0.5556 GB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.234e-05/0.544, allocations: 15.98 kB / 0.5556 GB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.544, allocations: 0 / 0.5556 GB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.246e-05/0.544, allocations: 11.94 kB / 0.5556 GB, free: 3.633 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.544, allocations: 144 / 0.5556 GB, free: 3.633 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 3.843e-05/0.5441, allocations: 105 kB / 0.5557 GB, free: 3.523 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.5441, allocations: 19.8 kB / 0.5558 GB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.5442, allocations: 80.86 kB / 0.5558 GB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5442, allocations: 0 / 0.5558 GB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.5443, allocations: 0 / 0.5558 GB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.5443, allocations: 0 / 0.5558 GB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.5445, allocations: 342.7 kB / 0.5562 GB, free: 3.086 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5445, allocations: 4.062 kB / 0.5562 GB, free: 3.082 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.612e-05/0.5446, allocations: 15.98 kB / 0.5562 GB, free: 3.066 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5446, allocations: 4 kB / 0.5562 GB, free: 3.062 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-06/0.5446, allocations: 0 / 0.5562 GB, free: 3.062 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5446, allocations: 0 / 0.5562 GB, free: 3.062 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.5446, allocations: 4 kB / 0.5562 GB, free: 3.059 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.128e-05/0.5447, allocations: 166.4 kB / 0.5563 GB, free: 2.887 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-05/0.5448, allocations: 100.7 kB / 0.5564 GB, free: 2.773 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.5448, allocations: 0 / 0.5564 GB, free: 2.773 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.253e-05/0.5449, allocations: 11.98 kB / 0.5564 GB, free: 2.762 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.5449, allocations: 4 kB / 0.5565 GB, free: 2.758 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.5449, allocations: 3.938 kB / 0.5565 GB, free: 2.754 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001082/0.545, allocations: 194.5 kB / 0.5566 GB, free: 2.598 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.545, allocations: 0 / 0.5566 GB, free: 2.598 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002273/0.5453, allocations: 31.45 kB / 0.5567 GB, free: 2.57 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.000633/0.5459, allocations: 335.9 kB / 0.557 GB, free: 2.293 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.905e-05/0.546, allocations: 26.69 kB / 0.557 GB, free: 2.273 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.546, allocations: 0 / 0.557 GB, free: 2.273 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.322e-05/0.546, allocations: 15.56 kB / 0.557 GB, free: 2.262 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.5462, allocations: 15.53 kB / 0.557 GB, free: 2.246 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002974/0.5465, allocations: 201.5 kB / 0.5572 GB, free: 2.047 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.5467, allocations: 0.7229 MB / 0.5579 GB, free: 1.301 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.049e-05/0.5467, allocations: 8.188 kB / 0.558 GB, free: 1.293 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.5468, allocations: 18.81 kB / 0.558 GB, free: 1.277 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5468, allocations: 0 / 0.558 GB, free: 1.277 MB / 362.7 MB Notification: Performance of Templates: time 0.002833/0.5496, allocations: 1.201 MB / 0.5591 GB, free: 100 kB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches