Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.001752/0.001752, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.0021/0.0021, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.469/1.469, allocations: 177.2 MB / 204.9 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.209/0.209, allocations: 32.81 MB / 294.1 MB, free: 8 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 63.91 kB / 440.6 MB, free: 9.375 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3223, allocations: 65.44 MB / 0.4942 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.00296/0.3252, allocations: 1.91 MB / 0.4961 GB, free: 30.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.3267, allocations: 1.012 MB / 0.4971 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.3269, allocations: 3.938 kB / 0.4971 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.3272, allocations: 50.19 kB / 0.4971 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.3275, allocations: 96.33 kB / 0.4972 GB, free: 29.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.3277, allocations: 94.11 kB / 0.4973 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.3279, allocations: 154.4 kB / 0.4974 GB, free: 29.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.328, allocations: 18.66 kB / 0.4975 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.937e-05/0.328, allocations: 60.3 kB / 0.4975 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.355e-05/0.3281, allocations: 50.22 kB / 0.4976 GB, free: 29.15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.3282, allocations: 9.281 kB / 0.4976 GB, free: 29.15 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.994e-05/0.3283, allocations: 46.3 kB / 0.4976 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.482e-05/0.3283, allocations: 29.36 kB / 0.4976 GB, free: 29.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.379e-05/0.3284, allocations: 43.98 kB / 0.4977 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.3286, allocations: 149.1 kB / 0.4978 GB, free: 29.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3286, allocations: 0 / 0.4978 GB, free: 29.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3286, allocations: 0 / 0.4978 GB, free: 29.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3286, allocations: 3.938 kB / 0.4978 GB, free: 29.03 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005462/0.3292, allocations: 416.3 kB / 0.4982 GB, free: 28.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.3292, allocations: 13.53 kB / 0.4982 GB, free: 28.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.3292, allocations: 15.22 kB / 0.4983 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.3295, allocations: 170.7 kB / 0.4984 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.3295, allocations: 10.91 kB / 0.4984 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.3295, allocations: 14.47 kB / 0.4984 GB, free: 28.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.3297, allocations: 130.7 kB / 0.4986 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3297, allocations: 3.938 kB / 0.4986 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.3297, allocations: 3.281 kB / 0.4986 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3297, allocations: 7.344 kB / 0.4986 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.3299, allocations: 44.47 kB / 0.4986 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004095/0.3303, allocations: 454.6 kB / 0.4991 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.3306, allocations: 83.27 kB / 0.4991 GB, free: 27.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.31e-05/0.3307, allocations: 43 kB / 0.4992 GB, free: 27.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.3307, allocations: 3.094 kB / 0.4992 GB, free: 27.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.3308, allocations: 112.4 kB / 0.4993 GB, free: 27.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.3308, allocations: 0 / 0.4993 GB, free: 27.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003466/0.3312, allocations: 147.7 kB / 0.4994 GB, free: 27.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.3312, allocations: 54.44 kB / 0.4995 GB, free: 27.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.3314, allocations: 209.9 kB / 0.4997 GB, free: 27.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.3314, allocations: 28.77 kB / 0.4997 GB, free: 27.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.3314, allocations: 117.6 kB / 0.4998 GB, free: 27.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.3315, allocations: 34.28 kB / 0.4999 GB, free: 27.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.3315, allocations: 31.25 kB / 0.4999 GB, free: 27.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.426e-05/0.3315, allocations: 333 kB / 0.5002 GB, free: 26.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.205e-05/0.3316, allocations: 30.27 kB / 0.5002 GB, free: 26.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.232e-05/0.3317, allocations: 68.03 kB / 0.5003 GB, free: 26.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.3319, allocations: 102 kB / 0.5004 GB, free: 26.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3319, allocations: 0 / 0.5004 GB, free: 26.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002293/0.3321, allocations: 147 kB / 0.5005 GB, free: 26.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.3321, allocations: 5.75 kB / 0.5005 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3321, allocations: 0 / 0.5005 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.3321, allocations: 3.188 kB / 0.5005 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.522e-05/0.3322, allocations: 27.2 kB / 0.5006 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3322, allocations: 7.125 kB / 0.5006 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.488e-05/0.3323, allocations: 13.73 kB / 0.5006 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.3323, allocations: 7.344 kB / 0.5006 GB, free: 26.77 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.745e-05/0.3324, allocations: 127.4 kB / 0.5007 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.3324, allocations: 14.12 kB / 0.5007 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/0.3326, allocations: 134.8 kB / 0.5009 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3326, allocations: 3.188 kB / 0.5009 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3327, allocations: 3.938 kB / 0.5009 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3327, allocations: 3.562 kB / 0.5009 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.481e-05/0.3328, allocations: 142.1 kB / 0.501 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3328, allocations: 3.125 kB / 0.501 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.595e-05/0.3328, allocations: 21.02 kB / 0.501 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3328, allocations: 0 / 0.501 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.3328, allocations: 7.156 kB / 0.501 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3328, allocations: 0 / 0.501 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3328, allocations: 0 / 0.501 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.3332, allocations: 197.4 kB / 0.5012 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.064e-05/0.3332, allocations: 11.28 kB / 0.5012 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.3332, allocations: 7.156 kB / 0.5012 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.252e-05/0.3333, allocations: 10.64 kB / 0.5012 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.3333, allocations: 10.78 kB / 0.5013 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.3333, allocations: 7.125 kB / 0.5013 GB, free: 26.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.655e-05/0.3334, allocations: 145.8 kB / 0.5014 GB, free: 26.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3334, allocations: 7.406 kB / 0.5014 GB, free: 26.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002265/0.3336, allocations: 30.41 kB / 0.5014 GB, free: 26.17 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.00149/0.3351, allocations: 427.7 kB / 0.5018 GB, free: 25.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002373/0.3353, allocations: 85.55 kB / 0.5019 GB, free: 25.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3353, allocations: 4.062 kB / 0.5019 GB, free: 25.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.62e-05/0.3354, allocations: 33.39 kB / 0.502 GB, free: 25.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.3357, allocations: 51.16 kB / 0.502 GB, free: 25.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00041/0.3361, allocations: 276.4 kB / 0.5023 GB, free: 25.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.174e-05/0.3362, allocations: 112.2 kB / 0.5024 GB, free: 25.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.68e-05/0.3362, allocations: 25.58 kB / 0.5024 GB, free: 25.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.3363, allocations: 25.38 kB / 0.5024 GB, free: 25.62 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3363, allocations: 0 / 0.5024 GB, free: 25.62 MB / 446.1 MB Notification: Performance of Templates: time 0.004703/0.341, allocations: 2.017 MB / 0.5044 GB, free: 25.36 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.971202110988088]