Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1D.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 104.5 kB / 16.94 MB, free: 6.199 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.001258/0.001258, allocations: 191.3 kB / 17.86 MB, free: 5.312 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.362/1.362, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.1927/0.1927, allocations: 43.51 MB / 314.6 MB, free: 0.5312 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.001449/0.001449, allocations: 68.38 kB / 383.4 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09156/0.09302, allocations: 57.79 MB / 441.2 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.002579/0.09565, allocations: 1.556 MB / 442.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005534/0.09623, allocations: 323.5 kB / 443.1 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.305e-05/0.0963, allocations: 4 kB / 443.1 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002113/0.09651, allocations: 23.84 kB / 443.1 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.09669, allocations: 35.8 kB / 443.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.09697, allocations: 95.67 kB / 443.2 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.09711, allocations: 51.86 kB / 443.3 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.09723, allocations: 19.92 kB / 443.3 MB, free: 4.812 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.287e-05/0.09729, allocations: 15.92 kB / 443.3 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.354e-05/0.09735, allocations: 19.86 kB / 443.3 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.09737, allocations: 4 kB / 443.3 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.347e-05/0.09745, allocations: 35.98 kB / 443.4 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.0975, allocations: 7.938 kB / 443.4 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.744e-05/0.09754, allocations: 31.84 kB / 443.4 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.09769, allocations: 71.8 kB / 443.5 MB, free: 4.629 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.0977, allocations: 0 / 443.5 MB, free: 4.629 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.09771, allocations: 0 / 443.5 MB, free: 4.629 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.09772, allocations: 0 / 443.5 MB, free: 4.629 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.0003947/0.09812, allocations: 379.1 kB / 443.8 MB, free: 4.211 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.09816, allocations: 11.89 kB / 443.8 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.0982, allocations: 12.83 kB / 443.9 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.09834, allocations: 180.3 kB / 444 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.09836, allocations: 4.375 kB / 444 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.09838, allocations: 4.375 kB / 444 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.09851, allocations: 45.81 kB / 444.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.09853, allocations: 7.984 kB / 444.1 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.09855, allocations: 4 kB / 444.1 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.09856, allocations: 0 / 444.1 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.862e-05/0.09865, allocations: 23.92 kB / 444.1 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003198/0.09898, allocations: 288.8 kB / 444.4 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.09919, allocations: 38.66 kB / 444.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.69e-05/0.09924, allocations: 20.84 kB / 444.5 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.09927, allocations: 0 / 444.5 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.492e-05/0.09929, allocations: 38.5 kB / 444.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.0993, allocations: 7.938 kB / 444.5 MB, free: 3.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005166/0.09982, allocations: 137.4 kB / 444.6 MB, free: 3.281 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.09987, allocations: 59.34 kB / 444.7 MB, free: 3.211 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.09998, allocations: 142.1 kB / 444.8 MB, free: 3.059 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.09999, allocations: 25.7 kB / 444.9 MB, free: 3.027 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.385e-05/0.1, allocations: 96.12 kB / 445 MB, free: 2.93 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.1001, allocations: 19.66 kB / 445 MB, free: 2.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.1001, allocations: 17.72 kB / 445 MB, free: 2.887 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.449e-05/0.1002, allocations: 326.8 kB / 445.3 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.457e-05/0.1002, allocations: 19.98 kB / 445.3 MB, free: 2.539 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.521e-05/0.1003, allocations: 24.05 kB / 445.4 MB, free: 2.516 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.1004, allocations: 48.81 kB / 445.4 MB, free: 2.465 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1004, allocations: 4 kB / 445.4 MB, free: 2.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001532/0.1006, allocations: 85.61 kB / 445.5 MB, free: 2.371 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.1006, allocations: 4 kB / 445.5 MB, free: 2.367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1006, allocations: 0 / 445.5 MB, free: 2.367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1006, allocations: 0 / 445.5 MB, free: 2.367 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.708e-05/0.1007, allocations: 19.92 kB / 445.5 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1007, allocations: 0 / 445.5 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.575e-05/0.1007, allocations: 12.19 kB / 445.5 MB, free: 2.336 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.1008, allocations: 3.984 kB / 445.5 MB, free: 2.332 MB / 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 (5): * Single equations (assignments): 5 * 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 5.351e-05/0.1008, allocations: 125.7 kB / 445.7 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.1008, allocations: 4 kB / 445.7 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001965/0.101, allocations: 101.9 kB / 445.8 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1011, allocations: 3.984 kB / 445.8 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1011, allocations: 0 / 445.8 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.1011, allocations: 0 / 445.8 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/0.1014, allocations: 354.7 kB / 446.1 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1014, allocations: 64 / 446.1 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.868e-05/0.1015, allocations: 15.98 kB / 446.1 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1015, allocations: 0 / 446.1 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.1015, allocations: 4 kB / 446.1 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1015, allocations: 3.938 kB / 446.1 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1015, allocations: 3.938 kB / 446.1 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.1017, allocations: 183.4 kB / 446.3 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.786e-05/0.1017, allocations: 77.11 kB / 446.4 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.1017, allocations: 0 / 446.4 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.341e-05/0.1018, allocations: 15.92 kB / 446.4 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.1018, allocations: 4 kB / 446.4 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.1018, allocations: 0 / 446.4 MB, free: 1.352 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.04e-05/0.1019, allocations: 114.9 kB / 446.5 MB, free: 1.242 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1019, allocations: 4 kB / 446.5 MB, free: 1.238 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002302/0.1021, allocations: 15.94 kB / 446.5 MB, free: 1.223 MB / 318.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 (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.0008105/0.103, allocations: 403.4 kB / 446.9 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.1032, allocations: 51.91 kB / 447 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1032, allocations: 0 / 447 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.949e-05/0.1032, allocations: 31.97 kB / 447 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.1036, allocations: 16 kB / 447 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003364/0.104, allocations: 203.1 kB / 447.2 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/0.1041, allocations: 0.6885 MB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.1042, allocations: 27.42 kB / 447.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1042, allocations: 0 / 447.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of Templates: time 0.002871/0.1071, allocations: 1.377 MB / 449.3 MB, free: 14.46 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches