Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.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.CombiTable1D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20") translateModel(ModelicaTest.Tables.CombiTable1D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 95.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 177.8 kB / 16.57 MB, free: 6.844 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.261/1.261, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2835/0.2835, allocations: 43.55 MB / 314.5 MB, free: 8.773 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.0004824/0.0004824, allocations: 12 kB / 383.9 MB, free: 8.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09431/0.09481, allocations: 58.85 MB / 442.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test20): time 0.00155/0.0964, allocations: 1.257 MB / 444 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.09743, allocations: 0.8752 MB / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.804e-05/0.09748, allocations: 0 / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.09764, allocations: 15.92 kB / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.09777, allocations: 35.84 kB / 444.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.09798, allocations: 87.83 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.06e-05/0.09808, allocations: 27.95 kB / 445 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.848e-05/0.09816, allocations: 15.98 kB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.314e-05/0.09821, allocations: 23.84 kB / 445.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.575e-05/0.09831, allocations: 11.94 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.09833, allocations: 4 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.318e-05/0.09841, allocations: 35.91 kB / 445.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.844e-05/0.09845, allocations: 19.92 kB / 445.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.481e-05/0.09849, allocations: 29.7 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.0986, allocations: 68.12 kB / 445.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.09861, allocations: 0 / 445.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.417e-06/0.09862, allocations: 4 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.337e-06/0.09862, allocations: 3.938 kB / 445.3 MB, free: 10.54 MB / 382.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.0003519/0.09898, allocations: 367.1 kB / 445.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.09902, allocations: 12.02 kB / 445.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.09905, allocations: 11.86 kB / 445.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.09922, allocations: 187 kB / 445.8 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.12e-06/0.09923, allocations: 0 / 445.8 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.09926, allocations: 7.938 kB / 445.8 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.09939, allocations: 63.39 kB / 445.9 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.09941, allocations: 7.906 kB / 445.9 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.09943, allocations: 0 / 445.9 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.09944, allocations: 0 / 445.9 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.09954, allocations: 39.86 kB / 445.9 MB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.09989, allocations: 277 kB / 446.2 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.1001, allocations: 50.56 kB / 446.3 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.1001, allocations: 0 / 446.3 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.1001, allocations: 38.5 kB / 446.3 MB, free: 9.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.1001, allocations: 0 / 446.3 MB, free: 9.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004979/0.1006, allocations: 161.5 kB / 446.5 MB, free: 9.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.1007, allocations: 81.05 kB / 446.5 MB, free: 9.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.1008, allocations: 133.8 kB / 446.7 MB, free: 8.934 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.1008, allocations: 25.7 kB / 446.7 MB, free: 8.902 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.1009, allocations: 99.92 kB / 446.8 MB, free: 8.801 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.1009, allocations: 15.8 kB / 446.8 MB, free: 8.785 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.1009, allocations: 4 kB / 446.8 MB, free: 8.781 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.926e-05/0.101, allocations: 318.8 kB / 447.1 MB, free: 8.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.012e-05/0.1011, allocations: 23.98 kB / 447.1 MB, free: 8.438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.311e-05/0.1012, allocations: 37.69 kB / 447.2 MB, free: 8.395 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.026e-05/0.1013, allocations: 32.02 kB / 447.2 MB, free: 8.363 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1013, allocations: 0 / 447.2 MB, free: 8.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001741/0.1014, allocations: 85.58 kB / 447.3 MB, free: 8.273 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1015, allocations: 11.98 kB / 447.3 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.1015, allocations: 4.203 kB / 447.3 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.1015, allocations: 7.938 kB / 447.3 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.059e-05/0.1016, allocations: 16 kB / 447.3 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.1016, allocations: 0 / 447.3 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.201e-05/0.1016, allocations: 11.98 kB / 447.3 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.1016, allocations: 4 kB / 447.3 MB, free: 8.219 MB / 382.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 (5): * Single equations (assignments): 5 * 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 7.246e-05/0.1017, allocations: 113.8 kB / 447.5 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.1017, allocations: 4 kB / 447.5 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.102, allocations: 109.5 kB / 447.6 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.102, allocations: 3.953 kB / 447.6 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.102, allocations: 0 / 447.6 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.102, allocations: 3.938 kB / 447.6 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.1024, allocations: 358.6 kB / 447.9 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1024, allocations: 0 / 447.9 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.435e-05/0.1024, allocations: 15.98 kB / 447.9 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1025, allocations: 3.953 kB / 447.9 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-06/0.1025, allocations: 0 / 447.9 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1025, allocations: 3.938 kB / 447.9 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1025, allocations: 4 kB / 448 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.1027, allocations: 191.5 kB / 448.1 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.1027, allocations: 81.02 kB / 448.2 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.1028, allocations: 7.953 kB / 448.2 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.082e-05/0.1028, allocations: 12.17 kB / 448.2 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.28e-05/0.1029, allocations: 0 / 448.2 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.1029, allocations: 12 kB / 448.2 MB, free: 7.211 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.229e-05/0.103, allocations: 103.2 kB / 448.3 MB, free: 7.109 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.103, allocations: 3.938 kB / 448.4 MB, free: 7.105 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002326/0.1032, allocations: 20 kB / 448.4 MB, free: 7.086 MB / 382.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 (5): * Single equations (assignments): 5 * 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.0008264/0.104, allocations: 450.2 kB / 448.8 MB, free: 6.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.1042, allocations: 59.91 kB / 448.9 MB, free: 6.621 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1042, allocations: 0 / 448.9 MB, free: 6.621 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.632e-05/0.1043, allocations: 35.97 kB / 448.9 MB, free: 6.586 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.1045, allocations: 19.92 kB / 448.9 MB, free: 6.566 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002724/0.1048, allocations: 168.8 kB / 449.1 MB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.105, allocations: 0.6926 MB / 449.8 MB, free: 5.652 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.338e-05/0.1051, allocations: 15.98 kB / 449.8 MB, free: 5.637 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.1051, allocations: 19.36 kB / 449.8 MB, free: 5.617 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1051, allocations: 0 / 449.8 MB, free: 5.617 MB / 382.1 MB Notification: Performance of Templates: time 0.00301/0.1082, allocations: 1.279 MB / 451.1 MB, free: 4.336 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches