Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 101.4 kB / 15.98 MB, free: 6.344 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.002819/0.002819, allocations: 189.4 kB / 16.9 MB, free: 6.184 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.906/1.906, allocations: 205.1 MB / 222.8 MB, free: 4.672 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.4457/0.4457, allocations: 43.5 MB / 313.6 MB, free: 8.215 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.002096/0.002096, allocations: 70.56 kB / 382.2 MB, free: 8.379 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1945, allocations: 57.79 MB / 440 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003724/0.1982, allocations: 1.664 MB / 441.7 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006672/0.1989, allocations: 335.5 kB / 442 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.858e-05/0.199, allocations: 8 kB / 442 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.1993, allocations: 47.88 kB / 442.1 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.1996, allocations: 47.88 kB / 442.1 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.2, allocations: 139.8 kB / 442.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.2001, allocations: 75.77 kB / 442.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.2002, allocations: 16.27 kB / 442.3 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.138e-05/0.2003, allocations: 39.89 kB / 442.4 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.231e-05/0.2004, allocations: 35.84 kB / 442.4 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.2004, allocations: 8 kB / 442.4 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.316e-05/0.2005, allocations: 35.97 kB / 442.4 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.76e-05/0.2006, allocations: 23.86 kB / 442.5 MB, free: 12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.779e-05/0.2007, allocations: 27.81 kB / 442.5 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.2008, allocations: 95.64 kB / 442.6 MB, free: 11.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.2009, allocations: 0 / 442.6 MB, free: 11.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2009, allocations: 0 / 442.6 MB, free: 11.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.2009, allocations: 0 / 442.6 MB, free: 11.88 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005615/0.2014, allocations: 391.1 kB / 443 MB, free: 11.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.2015, allocations: 15.88 kB / 443 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.2015, allocations: 12.84 kB / 443 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.2018, allocations: 195.6 kB / 443.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.2018, allocations: 4.375 kB / 443.2 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.2018, allocations: 8.312 kB / 443.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.202, allocations: 69.77 kB / 443.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.202, allocations: 0 / 443.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.202, allocations: 0 / 443.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.202, allocations: 0 / 443.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.2022, allocations: 43.97 kB / 443.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004868/0.2027, allocations: 304.7 kB / 443.6 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.2029, allocations: 54.44 kB / 443.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.07e-05/0.2029, allocations: 32.92 kB / 443.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.203, allocations: 0 / 443.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.203, allocations: 30.56 kB / 443.7 MB, free: 10.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.203, allocations: 0 / 443.7 MB, free: 10.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008543/0.2039, allocations: 233.3 kB / 444 MB, free: 10.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/0.204, allocations: 51.41 kB / 444 MB, free: 10.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.2041, allocations: 165.8 kB / 444.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.2042, allocations: 25.7 kB / 444.2 MB, free: 10.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.037e-05/0.2042, allocations: 96.14 kB / 444.3 MB, free: 9.984 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.2043, allocations: 27.64 kB / 444.3 MB, free: 9.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/0.2043, allocations: 21.72 kB / 444.3 MB, free: 9.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.2045, allocations: 322.8 kB / 444.6 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.2046, allocations: 35.97 kB / 444.7 MB, free: 9.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.2047, allocations: 35.97 kB / 444.7 MB, free: 9.535 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.205, allocations: 96.78 kB / 444.8 MB, free: 9.438 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.205, allocations: 4 kB / 444.8 MB, free: 9.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002854/0.2053, allocations: 121.5 kB / 444.9 MB, free: 9.309 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.2053, allocations: 4 kB / 444.9 MB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.2053, allocations: 0 / 444.9 MB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.2053, allocations: 4 kB / 444.9 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.2055, allocations: 15.98 kB / 445 MB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.2055, allocations: 7.922 kB / 445 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.564e-05/0.2056, allocations: 16 kB / 445 MB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.2056, allocations: 0 / 445 MB, free: 9.262 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 (7): * Single equations (assignments): 7 * 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 9.851e-05/0.2057, allocations: 133.8 kB / 445.1 MB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.2057, allocations: 11.81 kB / 445.1 MB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/0.2061, allocations: 134.3 kB / 445.3 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.2061, allocations: 0 / 445.3 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.2061, allocations: 7.938 kB / 445.3 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2061, allocations: 0 / 445.3 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005532/0.2067, allocations: 406.8 kB / 445.7 MB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.2067, allocations: 4 kB / 445.7 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.817e-05/0.2068, allocations: 19.98 kB / 445.7 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.2068, allocations: 3.938 kB / 445.7 MB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.2068, allocations: 7.938 kB / 445.7 MB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2068, allocations: 0 / 445.7 MB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2068, allocations: 4 kB / 445.7 MB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.2071, allocations: 227.4 kB / 445.9 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.425e-05/0.2072, allocations: 88.94 kB / 446 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.2072, allocations: 8 kB / 446 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.953e-05/0.2073, allocations: 11.94 kB / 446 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.2074, allocations: 7.984 kB / 446 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.2074, allocations: 0 / 446 MB, free: 8.105 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.331e-05/0.2075, allocations: 128 kB / 446.2 MB, free: 7.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2075, allocations: 0 / 446.2 MB, free: 7.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.2077, allocations: 19.98 kB / 446.2 MB, free: 7.961 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 (7): * Single equations (assignments): 7 * 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.000992/0.2087, allocations: 402.1 kB / 446.6 MB, free: 7.594 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003125/0.2091, allocations: 95.86 kB / 446.7 MB, free: 7.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2091, allocations: 0 / 446.7 MB, free: 7.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.2092, allocations: 43.97 kB / 446.7 MB, free: 7.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.2096, allocations: 27.78 kB / 446.7 MB, free: 7.434 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005077/0.2101, allocations: 265.8 kB / 447 MB, free: 7.145 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.2104, allocations: 0.7118 MB / 447.7 MB, free: 6.406 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.967e-05/0.2105, allocations: 19.98 kB / 447.7 MB, free: 6.387 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/0.2106, allocations: 11.44 kB / 447.7 MB, free: 6.375 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2106, allocations: 0 / 447.7 MB, free: 6.375 MB / 382.1 MB Notification: Performance of Templates: time 0.003657/0.2142, allocations: 1.218 MB / 449 MB, free: 5.156 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches