Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2192/0.2192, allocations: 34.29 MB / 295 MB, free: 14.58 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 442.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.595e-05, allocations: 5.234 kB / 442.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003088/0.003114, allocations: 1.65 MB / 444.3 MB, free: 3.734 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.004386, allocations: 0.5336 MB / 444.9 MB, free: 3.195 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.875e-05/0.004475, allocations: 3.938 kB / 444.9 MB, free: 3.191 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000335/0.00481, allocations: 99.67 kB / 445 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004122/0.005222, allocations: 115.5 kB / 445.1 MB, free: 2.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.005545, allocations: 95.62 kB / 445.2 MB, free: 2.887 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000217/0.005762, allocations: 99.73 kB / 445.3 MB, free: 2.789 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.005895, allocations: 19.98 kB / 445.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.006011, allocations: 59.81 kB / 445.4 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.00614, allocations: 59.86 kB / 445.4 MB, free: 2.652 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.006161, allocations: 4 kB / 445.4 MB, free: 2.648 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.006277, allocations: 43.92 kB / 445.5 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.489e-05/0.006352, allocations: 31.84 kB / 445.5 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.073e-05/0.006392, allocations: 15.94 kB / 445.5 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.006652, allocations: 127.5 kB / 445.6 MB, free: 2.434 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.006654, allocations: 0 / 445.6 MB, free: 2.434 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.9e-07/0.006654, allocations: 0 / 445.6 MB, free: 2.434 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.006659, allocations: 0 / 445.6 MB, free: 2.434 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006223/0.007281, allocations: 369.4 kB / 446 MB, free: 2.043 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.00732, allocations: 8.031 kB / 446 MB, free: 2.035 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.911e-05/0.007379, allocations: 12.84 kB / 446 MB, free: 2.023 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.007615, allocations: 153.5 kB / 446.2 MB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.007634, allocations: 8.375 kB / 446.2 MB, free: 1.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.007662, allocations: 4.375 kB / 446.2 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.007867, allocations: 78.09 kB / 446.3 MB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.007885, allocations: 192 / 446.3 MB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.007898, allocations: 4.125 kB / 446.3 MB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.007902, allocations: 0 / 446.3 MB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.008037, allocations: 47.91 kB / 446.3 MB, free: 1.703 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/0.00849, allocations: 256.5 kB / 446.6 MB, free: 1.422 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.00866, allocations: 70.42 kB / 446.6 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.555e-05/0.008725, allocations: 20.84 kB / 446.7 MB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.008754, allocations: 0 / 446.7 MB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.008795, allocations: 34.56 kB / 446.7 MB, free: 1.277 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.008796, allocations: 0 / 446.7 MB, free: 1.277 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.001247/0.01004, allocations: 317.7 kB / 447 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.487e-05/0.01011, allocations: 51.41 kB / 447 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/0.01042, allocations: 239.5 kB / 447.3 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.01044, allocations: 25.81 kB / 447.3 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.39e-05/0.01054, allocations: 112.1 kB / 447.4 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.907e-05/0.0106, allocations: 43.64 kB / 447.5 MB, free: 472 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.095e-05/0.01067, allocations: 29.72 kB / 447.5 MB, free: 436 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.01084, allocations: 330.8 kB / 447.8 MB, free: 96 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.01097, allocations: 39.97 kB / 447.8 MB, free: 56 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.01107, allocations: 46.47 kB / 447.9 MB, free: 12 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2068/0.2179, allocations: 80.53 kB / 448 MB, free: 19.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2179, allocations: 0 / 448 MB, free: 19.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003191/0.2182, allocations: 139.8 kB / 448.1 MB, free: 19.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.2182, allocations: 8.812 kB / 448.1 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2183, allocations: 1.609 kB / 448.1 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.2183, allocations: 0 / 448.1 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.2184, allocations: 27.28 kB / 448.1 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.2184, allocations: 7.719 kB / 448.2 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.69e-05/0.2185, allocations: 9.625 kB / 448.2 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.2185, allocations: 8.547 kB / 448.2 MB, free: 19.06 MB / 366.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 (13): * Single equations (assignments): 13 * 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.0001176/0.2186, allocations: 137.2 kB / 448.3 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.87e-05/0.2187, allocations: 13.5 kB / 448.3 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003842/0.2191, allocations: 162.6 kB / 448.5 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.2191, allocations: 1.219 kB / 448.5 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.2191, allocations: 1.766 kB / 448.5 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.2191, allocations: 5.172 kB / 448.5 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000598/0.2197, allocations: 411.2 kB / 448.9 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.2197, allocations: 1.125 kB / 448.9 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.839e-05/0.2198, allocations: 24.33 kB / 448.9 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.2198, allocations: 2.156 kB / 448.9 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.2198, allocations: 5.281 kB / 448.9 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.2198, allocations: 6.031 kB / 448.9 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2198, allocations: 2.062 kB / 448.9 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.2201, allocations: 242.1 kB / 449.2 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.928e-05/0.2201, allocations: 13.69 kB / 449.2 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.2201, allocations: 1.938 kB / 449.2 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.404e-05/0.2202, allocations: 17.36 kB / 449.2 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.2203, allocations: 15.22 kB / 449.2 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.2203, allocations: 4.219 kB / 449.2 MB, free: 18.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001501/0.2204, allocations: 184 kB / 449.4 MB, free: 18.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2204, allocations: 0 / 449.4 MB, free: 18.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002866/0.2207, allocations: 27.19 kB / 449.4 MB, free: 18.39 MB / 366.1 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 (13): * Single equations (assignments): 13 * 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.001854/0.2226, allocations: 486.5 kB / 449.9 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002874/0.2228, allocations: 93.36 kB / 450 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2229, allocations: 2.438 kB / 450 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.223, allocations: 52.25 kB / 450 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.2233, allocations: 28.06 kB / 450.1 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005833/0.2239, allocations: 311.5 kB / 450.4 MB, free: 18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.709e-05/0.224, allocations: 109.7 kB / 450.5 MB, free: 17.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.26e-05/0.224, allocations: 18.72 kB / 450.5 MB, free: 17.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.2241, allocations: 25.89 kB / 450.5 MB, free: 17.9 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2241, allocations: 1.219 kB / 450.5 MB, free: 17.9 MB / 366.1 MB Notification: Performance of Templates: time 0.005159/0.2293, allocations: 1.536 MB / 452.1 MB, free: 17.69 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.038267370313406]