Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.001119, 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.644/1.644, allocations: 205.3 MB / 213.7 MB, free: 1.73 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.0009067/0.0009066, allocations: 84.05 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.2415/0.2415, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.99e-05/1.992e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1362, allocations: 58.86 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4251/0.5614, allocations: 85.6 MB / 0.5495 GB, free: 9.102 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001853/0.5616, allocations: 69.38 kB / 0.5496 GB, free: 9.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007722/0.5693, allocations: 3.493 MB / 0.553 GB, free: 6.301 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.5694, allocations: 0 / 0.553 GB, free: 6.301 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.5694, allocations: 0 / 0.553 GB, free: 6.301 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.0002699/0.5697, allocations: 369 kB / 0.5533 GB, free: 5.898 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.5697, allocations: 12.03 kB / 0.5534 GB, free: 5.887 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.033e-05/0.5697, allocations: 3.906 kB / 0.5534 GB, free: 5.883 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.5699, allocations: 201.1 kB / 0.5536 GB, free: 5.656 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.57, allocations: 0 / 0.5536 GB, free: 5.656 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.57, allocations: 4 kB / 0.5536 GB, free: 5.652 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.424e-05/0.5701, allocations: 7.125 kB / 0.5536 GB, free: 5.648 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.17e-05/0.5701, allocations: 40.88 kB / 0.5536 GB, free: 5.605 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.5702, allocations: 0 / 0.5536 GB, free: 5.605 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.5702, allocations: 0 / 0.5536 GB, free: 5.605 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.5702, allocations: 8 kB / 0.5536 GB, free: 5.598 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000244/0.5704, allocations: 250.3 kB / 0.5539 GB, free: 5.328 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.5706, allocations: 37.12 kB / 0.5539 GB, free: 5.289 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.226e-05/0.5706, allocations: 12.86 kB / 0.5539 GB, free: 5.273 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.5707, allocations: 0.6562 kB / 0.5539 GB, free: 5.273 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.162e-05/0.5707, allocations: 34.56 kB / 0.5539 GB, free: 5.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.5707, allocations: 4 kB / 0.5539 GB, free: 5.227 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003443/0.571, allocations: 95.06 kB / 0.554 GB, free: 5.141 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.919e-05/0.5711, allocations: 55.41 kB / 0.5541 GB, free: 5.074 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.756e-05/0.5712, allocations: 125.3 kB / 0.5542 GB, free: 4.953 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.5712, allocations: 29.7 kB / 0.5542 GB, free: 4.918 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.251e-05/0.5712, allocations: 94.7 kB / 0.5543 GB, free: 4.828 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.5713, allocations: 26.08 kB / 0.5543 GB, free: 4.805 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.5713, allocations: 0 / 0.5543 GB, free: 4.805 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.644e-05/0.5713, allocations: 317.7 kB / 0.5546 GB, free: 4.488 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.799e-05/0.5714, allocations: 11.38 kB / 0.5547 GB, free: 4.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.412e-05/0.5714, allocations: 7.5 kB / 0.5547 GB, free: 4.477 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.448e-05/0.5714, allocations: 11.05 kB / 0.5547 GB, free: 4.469 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-07/0.5714, allocations: 0 / 0.5547 GB, free: 4.469 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.118e-05/0.5715, allocations: 55.45 kB / 0.5547 GB, free: 4.414 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.5715, allocations: 4 kB / 0.5547 GB, free: 4.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.5715, allocations: 7.984 kB / 0.5547 GB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.5715, allocations: 0 / 0.5547 GB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.181e-05/0.5716, allocations: 12 kB / 0.5548 GB, free: 4.391 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.5716, allocations: 0 / 0.5548 GB, free: 4.391 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.855e-05/0.5717, allocations: 11.98 kB / 0.5548 GB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.5717, allocations: 3.828 kB / 0.5548 GB, free: 4.379 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 5.327e-05/0.5717, allocations: 105.1 kB / 0.5549 GB, free: 4.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.5718, allocations: 15.89 kB / 0.5549 GB, free: 4.254 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.5719, allocations: 76.11 kB / 0.555 GB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.5719, allocations: 0 / 0.555 GB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5719, allocations: 0 / 0.555 GB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5719, allocations: 0 / 0.555 GB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.5721, allocations: 298.3 kB / 0.5552 GB, free: 3.875 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-06/0.5721, allocations: 0 / 0.5552 GB, free: 3.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.459e-05/0.5722, allocations: 16.36 kB / 0.5553 GB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.5722, allocations: 4 kB / 0.5553 GB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.5722, allocations: 0 / 0.5553 GB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.5722, allocations: 8 kB / 0.5553 GB, free: 3.848 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5722, allocations: 3.938 kB / 0.5553 GB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.383e-05/0.5723, allocations: 157.4 kB / 0.5554 GB, free: 3.684 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.932e-05/0.5724, allocations: 80.42 kB / 0.5555 GB, free: 3.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.5724, allocations: 7.984 kB / 0.5555 GB, free: 3.582 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.639e-05/0.5725, allocations: 12 kB / 0.5555 GB, free: 3.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.5725, allocations: 0 / 0.5555 GB, free: 3.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.5725, allocations: 7.984 kB / 0.5555 GB, free: 3.562 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.464e-05/0.5726, allocations: 101.3 kB / 0.5556 GB, free: 3.473 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.51e-07/0.5726, allocations: 0 / 0.5556 GB, free: 3.473 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002199/0.5728, allocations: 27.86 kB / 0.5556 GB, free: 3.445 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.0006938/0.5735, allocations: 336.8 kB / 0.556 GB, free: 3.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.304e-05/0.5736, allocations: 29.86 kB / 0.556 GB, free: 3.141 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5736, allocations: 0 / 0.556 GB, free: 3.141 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.507e-05/0.5736, allocations: 15.12 kB / 0.556 GB, free: 3.129 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.5738, allocations: 11.94 kB / 0.556 GB, free: 3.117 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002351/0.5741, allocations: 106.6 kB / 0.5561 GB, free: 3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.5743, allocations: 0.6963 MB / 0.5568 GB, free: 2.277 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.116e-05/0.5743, allocations: 12.17 kB / 0.5568 GB, free: 2.262 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.5743, allocations: 19.36 kB / 0.5568 GB, free: 2.242 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5743, allocations: 0 / 0.5568 GB, free: 2.242 MB / 362.7 MB Notification: Performance of Templates: time 0.002709/0.5771, allocations: 0.9894 MB / 0.5578 GB, free: 1.273 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches