Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009521/0.0009521, allocations: 176.6 kB / 17.06 MB, free: 5.098 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.229/1.229, allocations: 223.2 MB / 241 MB, free: 11.84 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.0008149/0.0008149, allocations: 96.78 kB / 292.2 MB, free: 10.9 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.3102/0.3102, allocations: 44.21 MB / 387.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002767/0.0002767, allocations: 12 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3159, allocations: 61.9 MB / 0.5096 GB, free: 37.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1175/0.4335, allocations: 88.27 MB / 0.5958 GB, free: 6.855 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/0.4338, allocations: 79.92 kB / 0.5958 GB, free: 6.781 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01186/0.4457, allocations: 4.713 MB / 0.6004 GB, free: 2.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4458, allocations: 0 / 0.6004 GB, free: 2.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.4458, allocations: 0 / 0.6004 GB, free: 2.07 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000496/0.4463, allocations: 438.6 kB / 0.6009 GB, free: 1.594 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.4464, allocations: 8.031 kB / 0.6009 GB, free: 1.586 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.657e-05/0.4464, allocations: 15.91 kB / 0.6009 GB, free: 1.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.4467, allocations: 217 kB / 0.6011 GB, free: 1.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.4467, allocations: 4 kB / 0.6011 GB, free: 1.316 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.4467, allocations: 4 kB / 0.6011 GB, free: 1.312 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.4469, allocations: 76.25 kB / 0.6012 GB, free: 1.234 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.4469, allocations: 0 / 0.6012 GB, free: 1.234 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.4469, allocations: 4 kB / 0.6012 GB, free: 1.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.4469, allocations: 7.984 kB / 0.6012 GB, free: 1.223 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.4471, allocations: 51.91 kB / 0.6012 GB, free: 1.172 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/0.4476, allocations: 348.7 kB / 0.6016 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.4477, allocations: 78.48 kB / 0.6016 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.4477, allocations: 0 / 0.6016 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.4478, allocations: 34.56 kB / 0.6017 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 8.71e-07/0.4478, allocations: 0 / 0.6017 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.001026/0.4488, allocations: 361.5 kB / 0.602 GB, free: 300 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.4489, allocations: 51.41 kB / 0.6021 GB, free: 236 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.4491, allocations: 213.3 kB / 0.6023 GB, free: 12 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.4491, allocations: 29.7 kB / 0.6023 GB, free: 15.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.99e-05/0.4492, allocations: 112.1 kB / 0.6024 GB, free: 15.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.4492, allocations: 39.36 kB / 0.6024 GB, free: 15.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.4492, allocations: 7.938 kB / 0.6024 GB, free: 15.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.4493, allocations: 326.8 kB / 0.6028 GB, free: 15.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.4494, allocations: 51.91 kB / 0.6028 GB, free: 15.44 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.149e-05/0.4495, allocations: 47.97 kB / 0.6029 GB, free: 15.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.4497, allocations: 51.98 kB / 0.6029 GB, free: 15.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4497, allocations: 0 / 0.6029 GB, free: 15.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002724/0.4499, allocations: 166.3 kB / 0.6031 GB, free: 15.17 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.45, allocations: 4 kB / 0.6031 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.45, allocations: 0 / 0.6031 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.45, allocations: 3.984 kB / 0.6031 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.4501, allocations: 27.98 kB / 0.6031 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.4501, allocations: 3.938 kB / 0.6031 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.644e-05/0.4502, allocations: 12 kB / 0.6031 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.4502, allocations: 11.95 kB / 0.6031 GB, free: 15.11 MB / 426.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 (13): * Single equations (assignments): 13 * 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 0.0001053/0.4503, allocations: 130.4 kB / 0.6032 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/0.4504, allocations: 11.91 kB / 0.6033 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003539/0.4507, allocations: 195.8 kB / 0.6034 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.4507, allocations: 0 / 0.6034 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.4507, allocations: 0 / 0.6034 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.4508, allocations: 7.938 kB / 0.6035 GB, free: 14.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006649/0.4514, allocations: 0.5186 MB / 0.604 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4514, allocations: 0 / 0.604 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.905e-05/0.4515, allocations: 27.98 kB / 0.604 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.4515, allocations: 0 / 0.604 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.4516, allocations: 7.953 kB / 0.604 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.4516, allocations: 0 / 0.604 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4516, allocations: 240 / 0.604 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.4519, allocations: 277.1 kB / 0.6043 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.004e-05/0.452, allocations: 100.9 kB / 0.6044 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.452, allocations: 11.95 kB / 0.6044 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.116e-05/0.4521, allocations: 15.98 kB / 0.6044 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.4522, allocations: 7.984 kB / 0.6044 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.4522, allocations: 4 kB / 0.6044 GB, free: 13.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001565/0.4523, allocations: 171.2 kB / 0.6046 GB, free: 13.53 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4524, allocations: 0 / 0.6046 GB, free: 13.53 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002626/0.4526, allocations: 39.88 kB / 0.6046 GB, free: 13.49 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 (13): * Single equations (assignments): 13 * 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.0009966/0.4536, allocations: 469.6 kB / 0.605 GB, free: 13.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002844/0.4539, allocations: 115.9 kB / 0.6052 GB, free: 13.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4539, allocations: 3.938 kB / 0.6052 GB, free: 13.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.4541, allocations: 63.91 kB / 0.6052 GB, free: 13.03 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.4543, allocations: 18.95 kB / 0.6052 GB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005499/0.4548, allocations: 358.9 kB / 0.6056 GB, free: 12.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.4551, allocations: 0.7312 MB / 0.6063 GB, free: 11.87 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.928e-05/0.4552, allocations: 32.52 kB / 0.6063 GB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.409e-05/0.4552, allocations: 15.44 kB / 0.6063 GB, free: 11.82 MB / 426.7 MB Notification: Performance of SimCode: time 4.81e-07/0.4552, allocations: 0 / 0.6063 GB, free: 11.82 MB / 426.7 MB Notification: Performance of Templates: time 0.003791/0.459, allocations: 1.597 MB / 0.6079 GB, free: 10.23 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches