Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001253, allocations: 184.1 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008556/0.0008554, allocations: 97.98 kB / 292.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2963/0.2963, allocations: 44.22 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000283/0.000283, allocations: 12 kB / 459.9 MB, free: 1.559 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3095, allocations: 61.89 MB / 0.5096 GB, free: 38.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09868/0.4082, allocations: 88.05 MB / 0.5955 GB, free: 7.121 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/0.4085, allocations: 75.92 kB / 0.5956 GB, free: 7.051 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01031/0.4188, allocations: 4.28 MB / 0.5998 GB, free: 2.773 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4188, allocations: 0 / 0.5998 GB, free: 2.773 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.4188, allocations: 0 / 0.5998 GB, free: 2.773 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004404/0.4193, allocations: 414.8 kB / 0.6002 GB, free: 2.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.4193, allocations: 8.562 kB / 0.6002 GB, free: 2.312 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.4194, allocations: 7.906 kB / 0.6002 GB, free: 2.305 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.4197, allocations: 207.9 kB / 0.6004 GB, free: 2.062 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.4197, allocations: 8 kB / 0.6004 GB, free: 2.055 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.4197, allocations: 0 / 0.6004 GB, free: 2.055 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.4199, allocations: 65.56 kB / 0.6005 GB, free: 1.984 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.4199, allocations: 0 / 0.6005 GB, free: 1.984 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.4199, allocations: 0 / 0.6005 GB, free: 1.984 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4199, allocations: 0 / 0.6005 GB, free: 1.984 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.42, allocations: 31.97 kB / 0.6005 GB, free: 1.953 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/0.4205, allocations: 296.8 kB / 0.6008 GB, free: 1.613 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.4206, allocations: 50.5 kB / 0.6008 GB, free: 1.555 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.4206, allocations: 0 / 0.6008 GB, free: 1.555 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.4207, allocations: 30.56 kB / 0.6009 GB, free: 1.516 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.4207, allocations: 4 kB / 0.6009 GB, free: 1.512 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008784/0.4216, allocations: 249.5 kB / 0.6011 GB, free: 1.262 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.4216, allocations: 55.41 kB / 0.6012 GB, free: 1.195 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.4218, allocations: 183.1 kB / 0.6013 GB, free: 1.012 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.4218, allocations: 25.7 kB / 0.6014 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.4219, allocations: 112 kB / 0.6015 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.4219, allocations: 23.64 kB / 0.6015 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-06/0.4219, allocations: 4 kB / 0.6015 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.4221, allocations: 326.8 kB / 0.6018 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.129e-05/0.4221, allocations: 23.98 kB / 0.6018 GB, free: 500 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.732e-05/0.4222, allocations: 40.05 kB / 0.6019 GB, free: 460 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.094e-05/0.4223, allocations: 31.92 kB / 0.6019 GB, free: 428 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4223, allocations: 0 / 0.6019 GB, free: 428 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000194/0.4225, allocations: 113.5 kB / 0.602 GB, free: 308 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.4225, allocations: 5.562 kB / 0.602 GB, free: 304 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.4225, allocations: 4 kB / 0.602 GB, free: 300 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.4225, allocations: 3.938 kB / 0.602 GB, free: 296 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.528e-05/0.4226, allocations: 19.98 kB / 0.602 GB, free: 276 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.4227, allocations: 4 kB / 0.602 GB, free: 272 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.568e-05/0.4227, allocations: 12 kB / 0.602 GB, free: 260 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.4227, allocations: 3.938 kB / 0.6021 GB, free: 256 kB / 410.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 (8): * Single equations (assignments): 8 * 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.522e-05/0.4228, allocations: 133.7 kB / 0.6022 GB, free: 112 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.4229, allocations: 11.91 kB / 0.6022 GB, free: 100 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002664/0.4231, allocations: 122.4 kB / 0.6023 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.4231, allocations: 0 / 0.6023 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.4231, allocations: 0 / 0.6023 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.4232, allocations: 0 / 0.6023 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005334/0.4237, allocations: 431.2 kB / 0.6027 GB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.4237, allocations: 3.984 kB / 0.6027 GB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.818e-05/0.4238, allocations: 16 kB / 0.6027 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.4238, allocations: 7.969 kB / 0.6027 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.4238, allocations: 0 / 0.6027 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/0.4238, allocations: 7.984 kB / 0.6028 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4238, allocations: 0 / 0.6028 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.4241, allocations: 222.4 kB / 0.603 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.231e-05/0.4242, allocations: 89 kB / 0.603 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.4242, allocations: 4 kB / 0.6031 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.422e-05/0.4243, allocations: 11.98 kB / 0.6031 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.4243, allocations: 7.953 kB / 0.6031 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.4244, allocations: 4 kB / 0.6031 GB, free: 15.08 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001286/0.4245, allocations: 152 kB / 0.6032 GB, free: 14.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4245, allocations: 4 kB / 0.6032 GB, free: 14.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002499/0.4248, allocations: 31.98 kB / 0.6033 GB, free: 14.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009146/0.4257, allocations: 476.2 kB / 0.6037 GB, free: 14.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.4259, allocations: 75.91 kB / 0.6038 GB, free: 14.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4259, allocations: 0 / 0.6038 GB, free: 14.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.937e-05/0.426, allocations: 35.92 kB / 0.6038 GB, free: 14.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.4262, allocations: 27.95 kB / 0.6038 GB, free: 14.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.4266, allocations: 266.3 kB / 0.6041 GB, free: 14.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.4269, allocations: 0.7122 MB / 0.6048 GB, free: 13.44 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.498e-05/0.427, allocations: 16.95 kB / 0.6048 GB, free: 13.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.427, allocations: 15.44 kB / 0.6048 GB, free: 13.4 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.427, allocations: 3.938 kB / 0.6048 GB, free: 13.4 MB / 426.7 MB Notification: Performance of Templates: time 0.00327/0.4303, allocations: 1.335 MB / 0.6061 GB, free: 12.07 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches