Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.0006592/0.0006592, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.00326/0.00326, allocations: 160.4 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8829/0.8829, allocations: 177.1 MB / 205 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.2667/0.2667, allocations: 34.25 MB / 295.7 MB, free: 0.6953 MB / 266.7 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.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 443.5 MB, free: 1.082 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.271e-05, allocations: 2.281 kB / 443.5 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.2025/0.2025, allocations: 1.722 MB / 445.2 MB, free: 43.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.2035, allocations: 0.9674 MB / 446.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.43e-05/0.2036, allocations: 0 / 446.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.2039, allocations: 57.69 kB / 446.3 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002223/0.2041, allocations: 103.8 kB / 446.4 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001188/0.2042, allocations: 81.39 kB / 446.5 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.2043, allocations: 107.6 kB / 446.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.288e-05/0.2044, allocations: 6.094 kB / 446.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.639e-05/0.2045, allocations: 59.05 kB / 446.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.235e-05/0.2046, allocations: 26.52 kB / 446.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.2046, allocations: 2.844 kB / 446.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.668e-05/0.2046, allocations: 48.56 kB / 446.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.001e-05/0.2047, allocations: 33.97 kB / 446.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.2047, allocations: 23.16 kB / 446.8 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.2049, allocations: 133.2 kB / 446.9 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.2049, allocations: 6.812 kB / 446.9 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2049, allocations: 0 / 446.9 MB, free: 43.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.319e-06/0.2049, allocations: 3.938 kB / 446.9 MB, free: 43.04 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003795/0.2053, allocations: 365.6 kB / 447.3 MB, free: 42.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.2053, allocations: 11.69 kB / 447.3 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.2053, allocations: 16.41 kB / 447.3 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.2055, allocations: 163.9 kB / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.2055, allocations: 384 / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.2056, allocations: 7.219 kB / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.2057, allocations: 54.5 kB / 447.5 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2057, allocations: 7.5 kB / 447.5 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.2057, allocations: 4 kB / 447.5 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.2057, allocations: 0 / 447.5 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.68e-05/0.2057, allocations: 22.62 kB / 447.5 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002226/0.206, allocations: 237.6 kB / 447.8 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.2061, allocations: 54.81 kB / 447.8 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.407e-05/0.2061, allocations: 26.22 kB / 447.8 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.2061, allocations: 0 / 447.8 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.589e-05/0.2062, allocations: 73.12 kB / 447.9 MB, free: 42.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.42e-07/0.2062, allocations: 3.875 kB / 447.9 MB, free: 42.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003705/0.2066, allocations: 196.2 kB / 448.1 MB, free: 42.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.2066, allocations: 54 kB / 448.2 MB, free: 42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.2068, allocations: 276.1 kB / 448.4 MB, free: 41.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.2068, allocations: 29.7 kB / 448.5 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.234e-05/0.2068, allocations: 111.7 kB / 448.6 MB, free: 41.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.2068, allocations: 30.11 kB / 448.6 MB, free: 41.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.2069, allocations: 28.69 kB / 448.6 MB, free: 41.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.262e-05/0.2069, allocations: 322.9 kB / 448.9 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.356e-05/0.2069, allocations: 26.84 kB / 449 MB, free: 41.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.696e-05/0.207, allocations: 39.16 kB / 449 MB, free: 41.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.417e-05/0.207, allocations: 67.66 kB / 449.1 MB, free: 41.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.207, allocations: 0 / 449.1 MB, free: 41.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001061/0.2071, allocations: 101.8 kB / 449.2 MB, free: 41.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.2071, allocations: 9.281 kB / 449.2 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2071, allocations: 0 / 449.2 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.2072, allocations: 0 / 449.2 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.065e-05/0.2072, allocations: 21.27 kB / 449.2 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.2072, allocations: 4.031 kB / 449.2 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.737e-05/0.2073, allocations: 2.5 kB / 449.2 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.2073, allocations: 2.688 kB / 449.2 MB, free: 41.21 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.289e-05/0.2073, allocations: 142 kB / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.2073, allocations: 19.95 kB / 449.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.2075, allocations: 131.3 kB / 449.5 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2075, allocations: 0 / 449.5 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2075, allocations: 0 / 449.5 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.2075, allocations: 0 / 449.5 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.2077, allocations: 365.6 kB / 449.9 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2077, allocations: 2.906 kB / 449.9 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.083e-05/0.2077, allocations: 12.56 kB / 449.9 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2077, allocations: 6.297 kB / 449.9 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.2077, allocations: 3.938 kB / 449.9 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2077, allocations: 2.906 kB / 449.9 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2077, allocations: 0 / 449.9 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.2078, allocations: 218.6 kB / 450.1 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.2079, allocations: 13.66 kB / 450.1 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.2079, allocations: 3.125 kB / 450.1 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.966e-05/0.2079, allocations: 11 kB / 450.1 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.749e-05/0.2079, allocations: 6.266 kB / 450.1 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.208, allocations: 6.156 kB / 450.1 MB, free: 40.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.134e-05/0.208, allocations: 213.5 kB / 450.3 MB, free: 40.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.208, allocations: 0 / 450.3 MB, free: 40.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001648/0.2082, allocations: 29.12 kB / 450.4 MB, free: 40.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007027/0.2089, allocations: 499.6 kB / 450.9 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001132/0.209, allocations: 60.22 kB / 450.9 MB, free: 40.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.209, allocations: 0 / 450.9 MB, free: 40.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.881e-05/0.2091, allocations: 29.66 kB / 450.9 MB, free: 40.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.2093, allocations: 27.02 kB / 451 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003281/0.2096, allocations: 331.3 kB / 451.3 MB, free: 39.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.234e-05/0.2097, allocations: 104.8 kB / 451.4 MB, free: 39.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/0.2097, allocations: 17.58 kB / 451.4 MB, free: 39.9 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.2097, allocations: 2.938 kB / 451.4 MB, free: 39.9 MB / 410.7 MB Notification: Performance of Templates: time 0.002355/0.212, allocations: 2.18 MB / 453.6 MB, free: 39.63 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.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: 4.73851709254086]