Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001565/0.001565, allocations: 183.2 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.712/1.712, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009045/0.0009044, allocations: 90.83 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2182/0.2182, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003116/0.0003116, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.137, allocations: 58.86 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4384/0.5754, allocations: 86.63 MB / 0.5634 GB, free: 13.19 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/0.5756, allocations: 81.23 kB / 0.5634 GB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01008/0.5857, allocations: 4.3 MB / 0.5676 GB, free: 9.734 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5858, allocations: 0 / 0.5676 GB, free: 9.734 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.5858, allocations: 0 / 0.5676 GB, free: 9.734 MB / 378.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.0004008/0.5862, allocations: 378.2 kB / 0.568 GB, free: 9.324 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.5862, allocations: 16.02 kB / 0.568 GB, free: 9.309 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.5863, allocations: 3.906 kB / 0.568 GB, free: 9.305 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.5865, allocations: 198.6 kB / 0.5682 GB, free: 9.074 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.5865, allocations: 0 / 0.5682 GB, free: 9.074 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.5866, allocations: 3.875 kB / 0.5682 GB, free: 9.074 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.5867, allocations: 66.47 kB / 0.5683 GB, free: 9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.5868, allocations: 0 / 0.5683 GB, free: 9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.5868, allocations: 7.938 kB / 0.5683 GB, free: 8.996 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.5868, allocations: 0 / 0.5683 GB, free: 8.996 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.222e-05/0.5869, allocations: 27.09 kB / 0.5683 GB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003394/0.5872, allocations: 267.8 kB / 0.5686 GB, free: 8.676 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.5874, allocations: 53.11 kB / 0.5686 GB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.5875, allocations: 8.016 kB / 0.5686 GB, free: 8.613 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.5875, allocations: 34.56 kB / 0.5686 GB, free: 8.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.5875, allocations: 0 / 0.5686 GB, free: 8.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005761/0.5881, allocations: 155.1 kB / 0.5688 GB, free: 8.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.5881, allocations: 77.11 kB / 0.5689 GB, free: 8.336 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.5883, allocations: 127.7 kB / 0.569 GB, free: 8.215 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.5883, allocations: 25.7 kB / 0.569 GB, free: 8.184 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.5884, allocations: 95.5 kB / 0.5691 GB, free: 8.094 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.5884, allocations: 23.69 kB / 0.5691 GB, free: 8.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.5884, allocations: 0 / 0.5691 GB, free: 8.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.5885, allocations: 318.4 kB / 0.5694 GB, free: 7.754 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.873e-05/0.5886, allocations: 23.48 kB / 0.5695 GB, free: 7.734 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.563e-05/0.5887, allocations: 37.33 kB / 0.5695 GB, free: 7.695 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.895e-05/0.5888, allocations: 23.23 kB / 0.5695 GB, free: 7.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.5888, allocations: 0 / 0.5695 GB, free: 7.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000177/0.589, allocations: 88.39 kB / 0.5696 GB, free: 7.594 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.589, allocations: 8.031 kB / 0.5696 GB, free: 7.586 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.589, allocations: 0 / 0.5696 GB, free: 7.586 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.589, allocations: 0 / 0.5696 GB, free: 7.586 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.39e-05/0.5891, allocations: 15.98 kB / 0.5696 GB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.5891, allocations: 0 / 0.5696 GB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.411e-05/0.5891, allocations: 11.5 kB / 0.5696 GB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.5892, allocations: 3.953 kB / 0.5696 GB, free: 7.559 MB / 378.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 () * Number of clocked 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 8.524e-05/0.5892, allocations: 117.7 kB / 0.5697 GB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.5893, allocations: 11.91 kB / 0.5698 GB, free: 7.426 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/0.5895, allocations: 99.3 kB / 0.5699 GB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.5895, allocations: 0 / 0.5699 GB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.5895, allocations: 320 / 0.5699 GB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.5895, allocations: 4 kB / 0.5699 GB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003804/0.5899, allocations: 359.1 kB / 0.5702 GB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.59, allocations: 0 / 0.5702 GB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.382e-05/0.59, allocations: 15.94 kB / 0.5702 GB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.59, allocations: 0 / 0.5702 GB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.59, allocations: 0 / 0.5702 GB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.59, allocations: 4 kB / 0.5702 GB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.59, allocations: 4 kB / 0.5702 GB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.5903, allocations: 189.3 kB / 0.5704 GB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.5903, allocations: 85.02 kB / 0.5705 GB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.5903, allocations: 11.86 kB / 0.5705 GB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.601e-05/0.5904, allocations: 4 kB / 0.5705 GB, free: 6.617 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.5905, allocations: 7.984 kB / 0.5705 GB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.5905, allocations: 0 / 0.5705 GB, free: 6.609 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.408e-05/0.5906, allocations: 110.3 kB / 0.5706 GB, free: 6.508 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.283e-06/0.5906, allocations: 0 / 0.5706 GB, free: 6.508 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002372/0.5908, allocations: 27.19 kB / 0.5706 GB, free: 6.484 MB / 378.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 () * Number of clocked 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.0009705/0.5918, allocations: 456.2 kB / 0.5711 GB, free: 6.098 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001861/0.592, allocations: 50.47 kB / 0.5711 GB, free: 6.055 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.592, allocations: 4 kB / 0.5711 GB, free: 6.051 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.568e-05/0.5921, allocations: 35.84 kB / 0.5712 GB, free: 6.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.5923, allocations: 11.06 kB / 0.5712 GB, free: 6.012 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003509/0.5926, allocations: 163.6 kB / 0.5713 GB, free: 5.832 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.5929, allocations: 0.6965 MB / 0.572 GB, free: 5.109 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.217e-05/0.593, allocations: 8.172 kB / 0.572 GB, free: 5.102 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/0.593, allocations: 11.44 kB / 0.572 GB, free: 5.09 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.593, allocations: 0 / 0.572 GB, free: 5.09 MB / 378.7 MB Notification: Performance of Templates: time 0.003653/0.5967, allocations: 1.28 MB / 0.5733 GB, free: 3.82 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches