Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001928/0.001928, allocations: 105.8 kB / 16.64 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002479/0.00248, allocations: 186.5 kB / 17.56 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1976/0.1976, allocations: 43.51 MB / 314.3 MB, free: 0.707 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001479/0.00148, allocations: 74.42 kB / 382.9 MB, free: 56.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08467/0.08616, allocations: 57.79 MB / 440.7 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002674/0.08887, allocations: 1.61 MB / 442.3 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005128/0.08941, allocations: 327.6 kB / 442.6 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.224e-05/0.08949, allocations: 3.938 kB / 442.6 MB, free: 5.395 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004236/0.08992, allocations: 451.2 kB / 443 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002794/0.09023, allocations: 243.6 kB / 443.3 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003473/0.09059, allocations: 147.2 kB / 443.4 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.09078, allocations: 151.8 kB / 443.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.186e-05/0.09088, allocations: 12.27 kB / 443.6 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.899e-05/0.09099, allocations: 111.7 kB / 443.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.09116, allocations: 211.6 kB / 443.9 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.09118, allocations: 4 kB / 443.9 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.472e-05/0.09125, allocations: 27.98 kB / 443.9 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.94e-05/0.09134, allocations: 87.62 kB / 444 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.551e-05/0.0914, allocations: 99 kB / 444.1 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.09157, allocations: 179.7 kB / 444.3 MB, free: 3.707 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.09158, allocations: 0 / 444.3 MB, free: 3.707 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.09159, allocations: 0 / 444.3 MB, free: 3.707 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.0916, allocations: 0 / 444.3 MB, free: 3.707 MB / 318.1 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.0005149/0.09212, allocations: 0.6258 MB / 444.9 MB, free: 3.031 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.09217, allocations: 11.89 kB / 444.9 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.516e-05/0.09223, allocations: 40.47 kB / 445 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.09241, allocations: 296.2 kB / 445.3 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.09243, allocations: 384 / 445.3 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.09245, allocations: 16.25 kB / 445.3 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.09257, allocations: 49.81 kB / 445.3 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.09259, allocations: 0 / 445.3 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.0926, allocations: 4 kB / 445.3 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.09261, allocations: 0 / 445.3 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.634e-05/0.09269, allocations: 19.98 kB / 445.3 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003714/0.09307, allocations: 388.7 kB / 445.7 MB, free: 2.129 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.854e-05/0.09316, allocations: 38.5 kB / 445.8 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.952e-05/0.09321, allocations: 12.91 kB / 445.8 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.09324, allocations: 3.984 kB / 445.8 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.09326, allocations: 42.56 kB / 445.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.09327, allocations: 0 / 445.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002234/0.09349, allocations: 97.14 kB / 445.9 MB, free: 1.91 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.919e-05/0.09352, allocations: 51.41 kB / 446 MB, free: 1.848 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005456/0.09407, allocations: 0.8613 MB / 446.8 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.464e-06/0.09409, allocations: 29.7 kB / 446.9 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.0942, allocations: 220 kB / 447.1 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.09422, allocations: 3.906 kB / 447.1 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/0.09425, allocations: 17.84 kB / 447.1 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.164e-05/0.09431, allocations: 366.7 kB / 447.4 MB, free: 336 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.82e-05/0.09436, allocations: 8 kB / 447.5 MB, free: 328 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.112e-05/0.09441, allocations: 11.98 kB / 447.5 MB, free: 316 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.465e-05/0.09448, allocations: 24.84 kB / 447.5 MB, free: 288 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.09449, allocations: 0 / 447.5 MB, free: 288 kB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001141/0.09461, allocations: 101.1 kB / 447.6 MB, free: 180 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.09463, allocations: 7.984 kB / 447.6 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.09464, allocations: 0 / 447.6 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.09465, allocations: 0 / 447.6 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.112e-05/0.09472, allocations: 4 kB / 447.6 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.09473, allocations: 3.984 kB / 447.6 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.077e-05/0.09478, allocations: 7.938 kB / 447.6 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.09479, allocations: 7.984 kB / 447.6 MB, free: 148 kB / 318.1 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001551/0.09495, allocations: 221.7 kB / 447.8 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-05/0.09501, allocations: 47.44 kB / 447.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001886/0.0952, allocations: 100.6 kB / 448 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.09522, allocations: 0 / 448 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.09523, allocations: 3.938 kB / 448 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.09524, allocations: 3.984 kB / 448 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.09548, allocations: 285.5 kB / 448.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.0955, allocations: 4 kB / 448.3 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.555e-05/0.09554, allocations: 7.984 kB / 448.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.09555, allocations: 4.031 kB / 448.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.09556, allocations: 0 / 448.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.09556, allocations: 0 / 448.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.09557, allocations: 0 / 448.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.09575, allocations: 187 kB / 448.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.83e-05/0.09583, allocations: 108.5 kB / 448.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.09586, allocations: 0 / 448.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.082e-05/0.09594, allocations: 12.03 kB / 448.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.86e-05/0.09598, allocations: 0 / 448.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.09598, allocations: 0 / 448.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005435/0.09653, allocations: 0.6511 MB / 449.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09654, allocations: 0 / 449.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.09679, allocations: 16 kB / 449.2 MB, free: 14.41 MB / 334.1 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008015/0.0976, allocations: 364 kB / 449.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001358/0.09774, allocations: 23.98 kB / 449.6 MB, free: 14.1 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.09776, allocations: 0 / 449.6 MB, free: 14.1 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.322e-05/0.0978, allocations: 15.94 kB / 449.6 MB, free: 14.08 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.09819, allocations: 26.08 kB / 449.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.09925, allocations: 0.8744 MB / 450.5 MB, free: 13.15 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.09961, allocations: 0.8143 MB / 451.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.09966, allocations: 15.44 kB / 451.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.09966, allocations: 3.938 kB / 451.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of Templates: time 0.006343/0.106, allocations: 3.465 MB / 454.8 MB, free: 8.828 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches