Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 177.3 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.28/1.28, 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.0008253/0.0008253, allocations: 107.2 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.3082/0.3082, allocations: 44.22 MB / 387.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003204, allocations: 8 kB / 459.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3401, allocations: 61.9 MB / 0.5096 GB, free: 37.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1068/0.447, allocations: 88.05 MB / 0.5955 GB, free: 7.078 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.4472, allocations: 83.89 kB / 0.5956 GB, free: 7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01049/0.4577, allocations: 4.383 MB / 0.5999 GB, free: 2.617 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4578, allocations: 3.938 kB / 0.5999 GB, free: 2.613 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.4578, allocations: 4 kB / 0.5999 GB, free: 2.609 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.0003987/0.4582, allocations: 418.8 kB / 0.6003 GB, free: 2.152 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.4582, allocations: 8.562 kB / 0.6003 GB, free: 2.145 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.4583, allocations: 15.91 kB / 0.6003 GB, free: 2.129 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.4585, allocations: 218.7 kB / 0.6005 GB, free: 1.875 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.4585, allocations: 7.891 kB / 0.6005 GB, free: 1.867 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.4585, allocations: 4 kB / 0.6006 GB, free: 1.863 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.4587, allocations: 53.67 kB / 0.6006 GB, free: 1.805 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.4587, allocations: 0 / 0.6006 GB, free: 1.805 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.4587, allocations: 0 / 0.6006 GB, free: 1.805 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.4587, allocations: 4 kB / 0.6006 GB, free: 1.801 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.697e-05/0.4588, allocations: 27.98 kB / 0.6006 GB, free: 1.773 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.4592, allocations: 316.7 kB / 0.6009 GB, free: 1.414 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.772e-05/0.4593, allocations: 42.56 kB / 0.601 GB, free: 1.363 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.4593, allocations: 4 kB / 0.601 GB, free: 1.359 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.4593, allocations: 34.56 kB / 0.601 GB, free: 1.316 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.4593, allocations: 0 / 0.601 GB, free: 1.316 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007735/0.4601, allocations: 253 kB / 0.6013 GB, free: 1.062 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.4602, allocations: 55.41 kB / 0.6013 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.4604, allocations: 216.2 kB / 0.6015 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.4604, allocations: 29.7 kB / 0.6015 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/0.4605, allocations: 112 kB / 0.6016 GB, free: 0.625 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.4605, allocations: 27.77 kB / 0.6017 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.4605, allocations: 0 / 0.6017 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.4606, allocations: 330.8 kB / 0.602 GB, free: 272 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.47e-05/0.4607, allocations: 31.98 kB / 0.602 GB, free: 240 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.046e-05/0.4608, allocations: 23.98 kB / 0.602 GB, free: 216 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.305e-05/0.4608, allocations: 31.98 kB / 0.6021 GB, free: 184 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.4608, allocations: 0 / 0.6021 GB, free: 184 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002027/0.4611, allocations: 109.5 kB / 0.6022 GB, free: 68 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.4611, allocations: 4 kB / 0.6022 GB, free: 64 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.4611, allocations: 0 / 0.6022 GB, free: 64 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.4611, allocations: 4 kB / 0.6022 GB, free: 60 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.751e-05/0.4612, allocations: 24.34 kB / 0.6022 GB, free: 36 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.4612, allocations: 0 / 0.6022 GB, free: 36 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.4613, allocations: 11.92 kB / 0.6022 GB, free: 24 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.4613, allocations: 12 kB / 0.6022 GB, free: 12 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 0.0001022/0.4614, allocations: 133.7 kB / 0.6024 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.4614, allocations: 15.81 kB / 0.6024 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.4617, allocations: 127 kB / 0.6025 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.4617, allocations: 11.98 kB / 0.6025 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.4617, allocations: 0 / 0.6025 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4617, allocations: 0 / 0.6025 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005071/0.4622, allocations: 431.6 kB / 0.6029 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4622, allocations: 4.031 kB / 0.6029 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.254e-05/0.4623, allocations: 19.98 kB / 0.6029 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.4623, allocations: 4 kB / 0.6029 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.4623, allocations: 4 kB / 0.603 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.4623, allocations: 0 / 0.603 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.4623, allocations: 3.953 kB / 0.603 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.4626, allocations: 233.9 kB / 0.6032 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.7e-05/0.4627, allocations: 101 kB / 0.6033 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.4627, allocations: 0 / 0.6033 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.149e-05/0.4628, allocations: 7.953 kB / 0.6033 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.4628, allocations: 15.92 kB / 0.6033 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.4628, allocations: 8 kB / 0.6033 GB, free: 14.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001447/0.463, allocations: 180.3 kB / 0.6035 GB, free: 14.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.463, allocations: 0 / 0.6035 GB, free: 14.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000236/0.4632, allocations: 31.98 kB / 0.6035 GB, free: 14.59 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.0008907/0.4641, allocations: 461.1 kB / 0.6039 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.4643, allocations: 71.89 kB / 0.604 GB, free: 14.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.4643, allocations: 0 / 0.604 GB, free: 14.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.878e-05/0.4644, allocations: 43.98 kB / 0.6041 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.4646, allocations: 12.17 kB / 0.6041 GB, free: 14.19 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004605/0.4651, allocations: 321.6 kB / 0.6044 GB, free: 13.85 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.4654, allocations: 0.7121 MB / 0.6051 GB, free: 13.11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.46e-05/0.4654, allocations: 20.97 kB / 0.6051 GB, free: 13.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.953e-05/0.4655, allocations: 23.42 kB / 0.6051 GB, free: 13.06 MB / 426.7 MB Notification: Performance of SimCode: time 1.713e-06/0.4655, allocations: 0 / 0.6051 GB, free: 13.06 MB / 426.7 MB Notification: Performance of Templates: time 0.00324/0.4687, allocations: 1.406 MB / 0.6065 GB, free: 11.66 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches