Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 176.5 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.226/1.226, allocations: 223.2 MB / 241 MB, free: 11.87 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.0009425/0.0009426, allocations: 99.91 kB / 292.2 MB, free: 10.92 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.294/0.294, allocations: 44.21 MB / 387.5 MB, free: 39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003481, allocations: 8 kB / 459.9 MB, free: 1.777 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.339, allocations: 61.9 MB / 0.5096 GB, free: 38.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1038/0.4429, allocations: 88.05 MB / 0.5955 GB, free: 7.129 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.4432, allocations: 79.92 kB / 0.5956 GB, free: 7.055 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01135/0.4546, allocations: 4.272 MB / 0.5998 GB, free: 2.785 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.469e-06/0.4546, allocations: 0 / 0.5998 GB, free: 2.785 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.4546, allocations: 3.938 kB / 0.5998 GB, free: 2.781 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.0004474/0.4551, allocations: 418.8 kB / 0.6002 GB, free: 2.324 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.4551, allocations: 8.562 kB / 0.6002 GB, free: 2.316 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.4552, allocations: 7.906 kB / 0.6002 GB, free: 2.309 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.4554, allocations: 203.9 kB / 0.6004 GB, free: 2.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.4554, allocations: 4 kB / 0.6004 GB, free: 2.066 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.4555, allocations: 4 kB / 0.6004 GB, free: 2.062 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.4556, allocations: 53.64 kB / 0.6005 GB, free: 2.004 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.4556, allocations: 3.938 kB / 0.6005 GB, free: 2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.4556, allocations: 0 / 0.6005 GB, free: 2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.4557, allocations: 4 kB / 0.6005 GB, free: 1.996 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.961e-05/0.4558, allocations: 35.97 kB / 0.6005 GB, free: 1.961 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.4562, allocations: 296.7 kB / 0.6008 GB, free: 1.621 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.4563, allocations: 50.5 kB / 0.6008 GB, free: 1.562 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.4563, allocations: 4 kB / 0.6008 GB, free: 1.559 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.4563, allocations: 30.56 kB / 0.6009 GB, free: 1.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.4563, allocations: 3.938 kB / 0.6009 GB, free: 1.516 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008555/0.4572, allocations: 245.5 kB / 0.6011 GB, free: 1.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.4572, allocations: 59.41 kB / 0.6012 GB, free: 1.199 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.4574, allocations: 179.1 kB / 0.6013 GB, free: 1.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.4575, allocations: 29.7 kB / 0.6014 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.849e-05/0.4575, allocations: 108 kB / 0.6015 GB, free: 0.875 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.4576, allocations: 23.66 kB / 0.6015 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.4576, allocations: 0 / 0.6015 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.4577, allocations: 326.8 kB / 0.6018 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.858e-05/0.4578, allocations: 31.98 kB / 0.6018 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.869e-05/0.4579, allocations: 32.05 kB / 0.6019 GB, free: 472 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.376e-05/0.4579, allocations: 27.98 kB / 0.6019 GB, free: 444 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4579, allocations: 3.938 kB / 0.6019 GB, free: 440 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002063/0.4582, allocations: 117.5 kB / 0.602 GB, free: 316 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.4582, allocations: 4 kB / 0.602 GB, free: 312 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4582, allocations: 0 / 0.602 GB, free: 312 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.4582, allocations: 96 / 0.602 GB, free: 312 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.4583, allocations: 19.98 kB / 0.602 GB, free: 292 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.4583, allocations: 0 / 0.602 GB, free: 292 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.91e-05/0.4584, allocations: 15.98 kB / 0.602 GB, free: 276 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.4584, allocations: 3.938 kB / 0.602 GB, free: 272 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 9.61e-05/0.4585, allocations: 137.7 kB / 0.6022 GB, free: 124 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.4585, allocations: 7.906 kB / 0.6022 GB, free: 116 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.4588, allocations: 126.8 kB / 0.6023 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4588, allocations: 0 / 0.6023 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4588, allocations: 0 / 0.6023 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4588, allocations: 0 / 0.6023 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000539/0.4594, allocations: 439.1 kB / 0.6027 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4594, allocations: 0 / 0.6027 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.726e-05/0.4595, allocations: 19.98 kB / 0.6027 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4595, allocations: 0 / 0.6027 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.4595, allocations: 4 kB / 0.6027 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.4595, allocations: 3.938 kB / 0.6027 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4595, allocations: 0 / 0.6027 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.4598, allocations: 230 kB / 0.603 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.339e-05/0.4598, allocations: 85.02 kB / 0.603 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.4599, allocations: 8 kB / 0.6031 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.496e-05/0.46, allocations: 11.98 kB / 0.6031 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.46, allocations: 7.953 kB / 0.6031 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.46, allocations: 7.984 kB / 0.6031 GB, free: 15.08 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001221/0.4601, allocations: 156 kB / 0.6032 GB, free: 14.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4602, allocations: 0 / 0.6032 GB, free: 14.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002385/0.4604, allocations: 31.94 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.0009488/0.4613, allocations: 460.2 kB / 0.6037 GB, free: 14.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.4616, allocations: 71.95 kB / 0.6038 GB, free: 14.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4616, allocations: 4 kB / 0.6038 GB, free: 14.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.75e-05/0.4617, allocations: 43.91 kB / 0.6038 GB, free: 14.51 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.4619, allocations: 30.64 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.0004873/0.4624, allocations: 266.4 kB / 0.6041 GB, free: 14.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.4627, allocations: 0.7082 MB / 0.6048 GB, free: 13.45 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.505e-05/0.4628, allocations: 12.97 kB / 0.6048 GB, free: 13.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.265e-05/0.4628, allocations: 23.44 kB / 0.6048 GB, free: 13.41 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4628, allocations: 3.938 kB / 0.6048 GB, free: 13.4 MB / 426.7 MB Notification: Performance of Templates: time 0.003414/0.4662, allocations: 1.334 MB / 0.6061 GB, free: 12.07 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches