Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001829/0.001829, allocations: 81.8 kB / 20.68 MB, free: 1.039 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.002151/0.002151, allocations: 168.5 kB / 23.95 MB, free: 4.172 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.509/1.509, 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.2186/0.2186, allocations: 34.28 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 442.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.391e-05/3.59e-05, allocations: 6.281 kB / 442.7 MB, free: 5.391 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003187/0.003223, allocations: 1.611 MB / 444.3 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.004353, allocations: 0.5259 MB / 444.8 MB, free: 3.238 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.024e-05/0.004413, allocations: 3.938 kB / 444.8 MB, free: 3.234 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.004706, allocations: 71.72 kB / 444.9 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.005001, allocations: 107.5 kB / 445 MB, free: 3.059 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.005265, allocations: 91.69 kB / 445.1 MB, free: 2.969 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.00544, allocations: 87.67 kB / 445.2 MB, free: 2.883 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.97e-05/0.005529, allocations: 12 kB / 445.2 MB, free: 2.871 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.738e-05/0.005617, allocations: 43.88 kB / 445.2 MB, free: 2.828 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.613e-05/0.005713, allocations: 39.91 kB / 445.3 MB, free: 2.789 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.005732, allocations: 8 kB / 445.3 MB, free: 2.781 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.641e-05/0.005828, allocations: 47.91 kB / 445.3 MB, free: 2.734 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.445e-05/0.005883, allocations: 19.92 kB / 445.4 MB, free: 2.715 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.157e-05/0.005924, allocations: 15.94 kB / 445.4 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.006119, allocations: 111.5 kB / 445.5 MB, free: 2.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.006122, allocations: 0 / 445.5 MB, free: 2.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.006123, allocations: 0 / 445.5 MB, free: 2.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.006127, allocations: 0 / 445.5 MB, free: 2.59 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005223/0.00665, allocations: 337.6 kB / 445.8 MB, free: 2.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.006691, allocations: 12.02 kB / 445.8 MB, free: 2.219 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.006734, allocations: 12.89 kB / 445.8 MB, free: 2.207 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.006942, allocations: 138.9 kB / 446 MB, free: 2.047 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.006956, allocations: 4.375 kB / 446 MB, free: 2.043 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.006987, allocations: 384 / 446 MB, free: 2.043 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.00716, allocations: 54.23 kB / 446 MB, free: 1.984 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.007174, allocations: 8.125 kB / 446 MB, free: 1.977 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.007187, allocations: 4.125 kB / 446 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.007191, allocations: 0 / 446 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.007318, allocations: 31.95 kB / 446.1 MB, free: 1.941 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.0077, allocations: 236.5 kB / 446.3 MB, free: 1.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.007828, allocations: 42.5 kB / 446.3 MB, free: 1.629 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.905e-05/0.007887, allocations: 20.88 kB / 446.4 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.007913, allocations: 4 kB / 446.4 MB, free: 1.602 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.007945, allocations: 30.56 kB / 446.4 MB, free: 1.562 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.007946, allocations: 0 / 446.4 MB, free: 1.562 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009376/0.008884, allocations: 221.3 kB / 446.6 MB, free: 1.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.008944, allocations: 55.41 kB / 446.7 MB, free: 1.273 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.009178, allocations: 199.3 kB / 446.9 MB, free: 1.062 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.009199, allocations: 29.7 kB / 446.9 MB, free: 1.027 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/0.009274, allocations: 108 kB / 447 MB, free: 0.918 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.009305, allocations: 23.84 kB / 447 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.009348, allocations: 25.66 kB / 447 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.009512, allocations: 326.8 kB / 447.4 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.424e-05/0.009596, allocations: 27.98 kB / 447.4 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.851e-05/0.009674, allocations: 32.03 kB / 447.4 MB, free: 488 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.009836, allocations: 61 kB / 447.5 MB, free: 424 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.009839, allocations: 4 kB / 447.5 MB, free: 420 kB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002344/0.01007, allocations: 105.6 kB / 447.6 MB, free: 308 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.01009, allocations: 4 kB / 447.6 MB, free: 304 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.01009, allocations: 0 / 447.6 MB, free: 304 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.0101, allocations: 8 kB / 447.6 MB, free: 296 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.0102, allocations: 15.98 kB / 447.6 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.01021, allocations: 0 / 447.6 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.453e-05/0.01025, allocations: 4 kB / 447.6 MB, free: 276 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.01026, allocations: 7.984 kB / 447.6 MB, free: 268 kB / 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 (8): * Single equations (assignments): 8 * 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.0001123/0.01038, allocations: 129.7 kB / 447.8 MB, free: 128 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/0.01042, allocations: 15.84 kB / 447.8 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1955/0.206, allocations: 115.9 kB / 447.9 MB, free: 19.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.206, allocations: 3.219 kB / 447.9 MB, free: 19.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.206, allocations: 0 / 447.9 MB, free: 19.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.206, allocations: 1.203 kB / 447.9 MB, free: 19.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000559/0.2065, allocations: 345 kB / 448.2 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.2065, allocations: 1.969 kB / 448.2 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.212e-05/0.2066, allocations: 19.33 kB / 448.2 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.2066, allocations: 0.9688 kB / 448.2 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.2067, allocations: 2.75 kB / 448.3 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.2067, allocations: 1.438 kB / 448.3 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.2067, allocations: 0 / 448.3 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.2069, allocations: 218 kB / 448.5 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/0.2069, allocations: 7.984 kB / 448.5 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.2069, allocations: 1.516 kB / 448.5 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.709e-05/0.207, allocations: 5.312 kB / 448.5 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.2071, allocations: 10.25 kB / 448.5 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.2071, allocations: 9.219 kB / 448.5 MB, free: 18.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001167/0.2072, allocations: 149.9 kB / 448.6 MB, free: 18.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2072, allocations: 0 / 448.6 MB, free: 18.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003178/0.2075, allocations: 22.16 kB / 448.7 MB, free: 18.74 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 (8): * Single equations (assignments): 8 * 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.001754/0.2093, allocations: 498.1 kB / 449.2 MB, free: 18.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002265/0.2095, allocations: 67.81 kB / 449.2 MB, free: 18.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2095, allocations: 0 / 449.2 MB, free: 18.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.2096, allocations: 32.77 kB / 449.3 MB, free: 18.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.2099, allocations: 21.06 kB / 449.3 MB, free: 18.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004936/0.2104, allocations: 248.8 kB / 449.5 MB, free: 18.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.037e-05/0.2105, allocations: 99.3 kB / 449.6 MB, free: 18.37 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.916e-05/0.2106, allocations: 13.69 kB / 449.6 MB, free: 18.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.2106, allocations: 15.59 kB / 449.6 MB, free: 18.36 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2106, allocations: 0 / 449.6 MB, free: 18.36 MB / 366.1 MB Notification: Performance of Templates: time 0.004721/0.2153, allocations: 1.359 MB / 451 MB, free: 18.2 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.003192465752363]