Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001131/0.001131, allocations: 177.6 kB / 8.002 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.593/1.593, allocations: 205.3 MB / 213.7 MB, free: 1.668 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.0008412/0.0008412, allocations: 87.47 kB / 261.7 MB, free: 1.617 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.1844/0.1844, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.882e-05/1.884e-05, allocations: 7.984 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1296, allocations: 58.85 MB / 477.1 MB, free: 1.652 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3913/0.5209, allocations: 85.65 MB / 0.5496 GB, free: 8.934 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.5212, allocations: 68.28 kB / 0.5496 GB, free: 8.934 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008439/0.5296, allocations: 3.938 MB / 0.5535 GB, free: 5.855 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.5297, allocations: 0 / 0.5535 GB, free: 5.855 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.5297, allocations: 4 kB / 0.5535 GB, free: 5.852 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.0002672/0.53, allocations: 387.9 kB / 0.5539 GB, free: 5.438 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.53, allocations: 12.03 kB / 0.5539 GB, free: 5.426 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.53, allocations: 7.906 kB / 0.5539 GB, free: 5.418 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.5302, allocations: 204.4 kB / 0.5541 GB, free: 5.184 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.5303, allocations: 8 kB / 0.5541 GB, free: 5.176 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.5303, allocations: 0 / 0.5541 GB, free: 5.176 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.94e-05/0.5304, allocations: 11.12 kB / 0.5541 GB, free: 5.168 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.323e-05/0.5304, allocations: 40.19 kB / 0.5541 GB, free: 5.125 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.5305, allocations: 3.938 kB / 0.5541 GB, free: 5.121 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.5305, allocations: 0 / 0.5541 GB, free: 5.121 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.5305, allocations: 0 / 0.5541 GB, free: 5.121 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002638/0.5307, allocations: 265.5 kB / 0.5544 GB, free: 4.844 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.5309, allocations: 41.88 kB / 0.5544 GB, free: 4.797 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.172e-05/0.531, allocations: 13.55 kB / 0.5544 GB, free: 4.785 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.531, allocations: 0 / 0.5544 GB, free: 4.785 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.218e-05/0.531, allocations: 30.56 kB / 0.5545 GB, free: 4.746 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.531, allocations: 0 / 0.5545 GB, free: 4.746 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003485/0.5314, allocations: 108.8 kB / 0.5546 GB, free: 4.645 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.862e-05/0.5314, allocations: 51.41 kB / 0.5546 GB, free: 4.582 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.5316, allocations: 200.4 kB / 0.5548 GB, free: 4.402 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.5316, allocations: 25.7 kB / 0.5548 GB, free: 4.371 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.411e-05/0.5316, allocations: 111 kB / 0.5549 GB, free: 4.273 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.5316, allocations: 15.73 kB / 0.5549 GB, free: 4.258 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-06/0.5316, allocations: 0 / 0.5549 GB, free: 4.258 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.256e-05/0.5317, allocations: 330.5 kB / 0.5553 GB, free: 3.934 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.876e-05/0.5317, allocations: 11.88 kB / 0.5553 GB, free: 3.926 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.482e-05/0.5317, allocations: 11.94 kB / 0.5553 GB, free: 3.914 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.093e-05/0.5318, allocations: 8.031 kB / 0.5553 GB, free: 3.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.5318, allocations: 0 / 0.5553 GB, free: 3.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.394e-05/0.5319, allocations: 61.22 kB / 0.5554 GB, free: 3.852 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.5319, allocations: 8 kB / 0.5554 GB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.5319, allocations: 0 / 0.5554 GB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.5319, allocations: 144 / 0.5554 GB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.302e-05/0.532, allocations: 16.23 kB / 0.5554 GB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.532, allocations: 0 / 0.5554 GB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.244e-05/0.532, allocations: 15.98 kB / 0.5554 GB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.532, allocations: 0 / 0.5554 GB, free: 3.812 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.642e-05/0.5321, allocations: 108.9 kB / 0.5555 GB, free: 3.699 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.5321, allocations: 11.81 kB / 0.5555 GB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.5323, allocations: 74.61 kB / 0.5556 GB, free: 3.621 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.5323, allocations: 4 kB / 0.5556 GB, free: 3.617 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.5323, allocations: 0 / 0.5556 GB, free: 3.617 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.5323, allocations: 0 / 0.5556 GB, free: 3.617 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.5325, allocations: 329.3 kB / 0.5559 GB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5325, allocations: 0 / 0.5559 GB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.621e-05/0.5326, allocations: 19.92 kB / 0.5559 GB, free: 3.262 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.5326, allocations: 0 / 0.5559 GB, free: 3.262 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.5326, allocations: 7.875 kB / 0.5559 GB, free: 3.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5326, allocations: 0 / 0.5559 GB, free: 3.258 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5326, allocations: 0 / 0.5559 GB, free: 3.258 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.622e-05/0.5327, allocations: 162.9 kB / 0.5561 GB, free: 3.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.773e-05/0.5328, allocations: 100.7 kB / 0.5562 GB, free: 2.977 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.5328, allocations: 0 / 0.5562 GB, free: 2.977 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.817e-05/0.5329, allocations: 8 kB / 0.5562 GB, free: 2.969 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.5329, allocations: 7.922 kB / 0.5562 GB, free: 2.961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.5329, allocations: 4 kB / 0.5562 GB, free: 2.957 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.737e-05/0.533, allocations: 151.8 kB / 0.5563 GB, free: 2.832 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.533, allocations: 4 kB / 0.5563 GB, free: 2.828 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002152/0.5332, allocations: 27.86 kB / 0.5564 GB, free: 2.805 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.0006517/0.5339, allocations: 335.5 kB / 0.5567 GB, free: 2.523 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.379e-05/0.534, allocations: 27.36 kB / 0.5567 GB, free: 2.504 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.534, allocations: 0 / 0.5567 GB, free: 2.504 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.257e-05/0.534, allocations: 15.56 kB / 0.5567 GB, free: 2.492 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.5342, allocations: 15.89 kB / 0.5567 GB, free: 2.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000272/0.5345, allocations: 167.8 kB / 0.5569 GB, free: 2.312 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.5346, allocations: 0.708 MB / 0.5576 GB, free: 1.578 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.069e-05/0.5347, allocations: 16.16 kB / 0.5576 GB, free: 1.559 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.5347, allocations: 15.31 kB / 0.5576 GB, free: 1.547 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5347, allocations: 4 kB / 0.5576 GB, free: 1.543 MB / 362.7 MB Notification: Performance of Templates: time 0.003062/0.5378, allocations: 1.12 MB / 0.5587 GB, free: 452 kB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/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_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches