Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.00154/0.00154, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.002293/0.002293, allocations: 169.9 kB / 24.5 MB, free: 3.453 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.46/1.46, allocations: 177.2 MB / 204.9 MB, free: 9.059 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.2204/0.2204, allocations: 34.26 MB / 295.5 MB, free: 14.61 MB / 286.1 MB " [Timeout remaining time 179] 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 67.89 kB / 443.2 MB, free: 6.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3704, allocations: 66.01 MB / 0.4973 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002864/0.3733, allocations: 1.734 MB / 0.499 GB, free: 28.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.3747, allocations: 0.9724 MB / 0.4999 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.399e-05/0.3747, allocations: 0 / 0.4999 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.3751, allocations: 105.4 kB / 0.5 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003224/0.3754, allocations: 130.7 kB / 0.5002 GB, free: 28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.3756, allocations: 84.75 kB / 0.5002 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.3758, allocations: 137.5 kB / 0.5004 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.3759, allocations: 7.266 kB / 0.5004 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.838e-05/0.3759, allocations: 63.58 kB / 0.5004 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.3761, allocations: 75.22 kB / 0.5005 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.3761, allocations: 6.406 kB / 0.5005 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.3762, allocations: 64.5 kB / 0.5006 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.488e-05/0.3763, allocations: 32.02 kB / 0.5006 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.277e-05/0.3763, allocations: 44.7 kB / 0.5007 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.3765, allocations: 150 kB / 0.5008 GB, free: 27.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3765, allocations: 0 / 0.5008 GB, free: 27.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3765, allocations: 0 / 0.5008 GB, free: 27.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3765, allocations: 0 / 0.5008 GB, free: 27.72 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005265/0.3771, allocations: 399.5 kB / 0.5012 GB, free: 27.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.3771, allocations: 9.688 kB / 0.5012 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.928e-05/0.3772, allocations: 15.22 kB / 0.5012 GB, free: 27.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.3774, allocations: 164.6 kB / 0.5014 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.3774, allocations: 7.5 kB / 0.5014 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.3774, allocations: 15.11 kB / 0.5014 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.3776, allocations: 70.89 kB / 0.5015 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3776, allocations: 0 / 0.5015 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.3776, allocations: 0 / 0.5015 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.3776, allocations: 0 / 0.5015 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.3777, allocations: 36.67 kB / 0.5015 GB, free: 27.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.3781, allocations: 271.4 kB / 0.5017 GB, free: 26.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.3784, allocations: 75.83 kB / 0.5018 GB, free: 26.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.055e-05/0.3784, allocations: 24.89 kB / 0.5018 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.3784, allocations: 4 kB / 0.5018 GB, free: 26.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001438/0.3786, allocations: 80.84 kB / 0.5019 GB, free: 26.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.3786, allocations: 0 / 0.5019 GB, free: 26.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007467/0.3793, allocations: 293.6 kB / 0.5022 GB, free: 26.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.3794, allocations: 54.38 kB / 0.5023 GB, free: 26.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.3796, allocations: 266.5 kB / 0.5025 GB, free: 26.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.3796, allocations: 34.81 kB / 0.5025 GB, free: 26.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.056e-05/0.3796, allocations: 112.3 kB / 0.5026 GB, free: 26.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.3797, allocations: 41.41 kB / 0.5027 GB, free: 26.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.3797, allocations: 34.94 kB / 0.5027 GB, free: 26.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.755e-05/0.3798, allocations: 328.7 kB / 0.503 GB, free: 25.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.955e-05/0.3798, allocations: 31.98 kB / 0.5031 GB, free: 25.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.535e-05/0.3799, allocations: 55.53 kB / 0.5031 GB, free: 25.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.38, allocations: 99.2 kB / 0.5032 GB, free: 25.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.38, allocations: 0 / 0.5032 GB, free: 25.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002026/0.3802, allocations: 152.4 kB / 0.5034 GB, free: 25.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.3803, allocations: 6.156 kB / 0.5034 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3803, allocations: 7.594 kB / 0.5034 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3803, allocations: 0 / 0.5034 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.112e-05/0.3804, allocations: 19.84 kB / 0.5034 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3804, allocations: 6.547 kB / 0.5034 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.585e-05/0.3804, allocations: 7.891 kB / 0.5034 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.3804, allocations: 9.531 kB / 0.5034 GB, free: 25.71 MB / 446.1 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 (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 8.495e-05/0.3805, allocations: 135.4 kB / 0.5035 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.3805, allocations: 16.12 kB / 0.5036 GB, free: 25.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002965/0.3808, allocations: 178.7 kB / 0.5037 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3808, allocations: 6.969 kB / 0.5037 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3808, allocations: 0 / 0.5037 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3808, allocations: 3.938 kB / 0.5037 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004339/0.3813, allocations: 438.8 kB / 0.5042 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3813, allocations: 0 / 0.5042 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.554e-05/0.3813, allocations: 15.94 kB / 0.5042 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3813, allocations: 7.062 kB / 0.5042 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.3813, allocations: 7.328 kB / 0.5042 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.3814, allocations: 3.156 kB / 0.5042 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3814, allocations: 4.062 kB / 0.5042 GB, free: 25.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.3816, allocations: 265.1 kB / 0.5044 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.336e-05/0.3816, allocations: 13.81 kB / 0.5045 GB, free: 24.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.3817, allocations: 7.938 kB / 0.5045 GB, free: 24.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.499e-05/0.3817, allocations: 2.75 kB / 0.5045 GB, free: 24.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.3818, allocations: 12.34 kB / 0.5045 GB, free: 24.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.3818, allocations: 13.38 kB / 0.5045 GB, free: 24.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001502/0.382, allocations: 199.3 kB / 0.5047 GB, free: 24.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.382, allocations: 0 / 0.5047 GB, free: 24.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.3822, allocations: 33.83 kB / 0.5047 GB, free: 24.82 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.002022/0.3842, allocations: 0.5442 MB / 0.5052 GB, free: 24.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.3845, allocations: 94.23 kB / 0.5053 GB, free: 24.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.3845, allocations: 0 / 0.5053 GB, free: 24.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.893e-05/0.3845, allocations: 48.72 kB / 0.5054 GB, free: 24.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.3849, allocations: 26.75 kB / 0.5054 GB, free: 24.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004711/0.3854, allocations: 343 kB / 0.5057 GB, free: 24.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.218e-05/0.3854, allocations: 120.4 kB / 0.5059 GB, free: 24.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.76e-05/0.3855, allocations: 27.5 kB / 0.5059 GB, free: 24.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.3855, allocations: 23.95 kB / 0.5059 GB, free: 24.21 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3855, allocations: 0 / 0.5059 GB, free: 24.21 MB / 446.1 MB Notification: Performance of Templates: time 0.005149/0.3907, allocations: 2.219 MB / 0.5081 GB, free: 23.93 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.98238483897876]