Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002069/0.00207, allocations: 106.2 kB / 17.07 MB, free: 5.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002399/0.002399, allocations: 194.7 kB / 20.02 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.003/2.003, allocations: 205.1 MB / 227.9 MB, free: 4.336 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4953/0.4953, allocations: 43.52 MB / 320.8 MB, free: 8.988 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 71.89 kB / 450.6 MB, free: 10.51 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.375, allocations: 57.77 MB / 0.4965 GB, free: 19.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002836/0.3778, allocations: 1.703 MB / 0.4981 GB, free: 18.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.379, allocations: 0.8026 MB / 0.4989 GB, free: 17.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.867e-05/0.3791, allocations: 1.281 kB / 0.4989 GB, free: 17.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003418/0.3794, allocations: 48.2 kB / 0.499 GB, free: 17.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.3797, allocations: 61.5 kB / 0.499 GB, free: 17.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.3799, allocations: 73.31 kB / 0.4991 GB, free: 17.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.3801, allocations: 102.2 kB / 0.4992 GB, free: 17.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.3802, allocations: 10.31 kB / 0.4992 GB, free: 17.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.279e-05/0.3803, allocations: 42.59 kB / 0.4992 GB, free: 17.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.741e-05/0.3804, allocations: 41.09 kB / 0.4993 GB, free: 17.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.3804, allocations: 4.656 kB / 0.4993 GB, free: 17.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.3805, allocations: 34.14 kB / 0.4993 GB, free: 17.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.716e-05/0.3806, allocations: 23.05 kB / 0.4993 GB, free: 17.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.231e-05/0.3806, allocations: 35.77 kB / 0.4994 GB, free: 17.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.3809, allocations: 117.9 kB / 0.4995 GB, free: 17.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3809, allocations: 0 / 0.4995 GB, free: 17.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.3809, allocations: 0 / 0.4995 GB, free: 17.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.3809, allocations: 5.094 kB / 0.4995 GB, free: 17.47 MB / 382.1 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.0005269/0.3814, allocations: 424.7 kB / 0.4999 GB, free: 17.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3815, allocations: 12.92 kB / 0.4999 GB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.3815, allocations: 9.391 kB / 0.4999 GB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.3818, allocations: 208.8 kB / 0.5001 GB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.3818, allocations: 9.766 kB / 0.5001 GB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.3818, allocations: 6.625 kB / 0.5001 GB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.382, allocations: 54.48 kB / 0.5002 GB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.382, allocations: 0 / 0.5002 GB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.382, allocations: 0 / 0.5002 GB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.382, allocations: 5.344 kB / 0.5002 GB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.648e-05/0.3821, allocations: 22.08 kB / 0.5002 GB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003151/0.3824, allocations: 287.1 kB / 0.5005 GB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.3826, allocations: 58.95 kB / 0.5005 GB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.895e-05/0.3827, allocations: 20 kB / 0.5005 GB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.3827, allocations: 4.969 kB / 0.5006 GB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.3829, allocations: 74.17 kB / 0.5006 GB, free: 16.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.3829, allocations: 0 / 0.5006 GB, free: 16.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005325/0.3834, allocations: 178.5 kB / 0.5008 GB, free: 16.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.3835, allocations: 51.41 kB / 0.5008 GB, free: 16.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.3836, allocations: 198.9 kB / 0.501 GB, free: 15.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.3836, allocations: 30.67 kB / 0.5011 GB, free: 15.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.949e-05/0.3837, allocations: 105.6 kB / 0.5012 GB, free: 15.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.3837, allocations: 31.03 kB / 0.5012 GB, free: 15.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.3838, allocations: 20.47 kB / 0.5012 GB, free: 15.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.94e-05/0.3838, allocations: 327 kB / 0.5015 GB, free: 15.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.432e-05/0.3839, allocations: 23.39 kB / 0.5015 GB, free: 15.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.396e-05/0.3839, allocations: 34.73 kB / 0.5016 GB, free: 15.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.384, allocations: 66.92 kB / 0.5016 GB, free: 15.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.384, allocations: 1.125 kB / 0.5016 GB, free: 15.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001634/0.3842, allocations: 98.95 kB / 0.5017 GB, free: 15.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3842, allocations: 5.625 kB / 0.5017 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3843, allocations: 3.938 kB / 0.5017 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3843, allocations: 1.625 kB / 0.5017 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.518e-05/0.3844, allocations: 16.58 kB / 0.5018 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.3844, allocations: 1.156 kB / 0.5018 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.385e-05/0.3844, allocations: 14.34 kB / 0.5018 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.3844, allocations: 3.375 kB / 0.5018 GB, free: 15.3 MB / 382.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 (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 7.212e-05/0.3845, allocations: 123.7 kB / 0.5019 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.3845, allocations: 9.609 kB / 0.5019 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.08e-05/0.3846, allocations: 19.08 kB / 0.5019 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3846, allocations: 0 / 0.5019 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3846, allocations: 0.625 kB / 0.5019 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3846, allocations: 5.312 kB / 0.5019 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003481/0.385, allocations: 397.9 kB / 0.5023 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.385, allocations: 0 / 0.5023 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.385, allocations: 11.88 kB / 0.5023 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.385, allocations: 1.344 kB / 0.5023 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.3851, allocations: 13.27 kB / 0.5023 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3851, allocations: 1.219 kB / 0.5023 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3851, allocations: 0 / 0.5023 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.3853, allocations: 201.6 kB / 0.5025 GB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.687e-05/0.3853, allocations: 92.55 kB / 0.5026 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.3853, allocations: 4.969 kB / 0.5026 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.857e-05/0.3854, allocations: 14.27 kB / 0.5026 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.3854, allocations: 3.312 kB / 0.5026 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.3855, allocations: 7.469 kB / 0.5026 GB, free: 14.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.3856, allocations: 147.5 kB / 0.5028 GB, free: 14.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3856, allocations: 5.469 kB / 0.5028 GB, free: 14.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.3858, allocations: 28.17 kB / 0.5028 GB, free: 14.34 MB / 382.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: 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 (8): * Single equations (assignments): 6 * 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.001647/0.3875, allocations: 475.6 kB / 0.5033 GB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.3877, allocations: 57.73 kB / 0.5033 GB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3877, allocations: 0 / 0.5033 GB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.58e-05/0.3878, allocations: 30.27 kB / 0.5034 GB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.3882, allocations: 32.58 kB / 0.5034 GB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004355/0.3886, allocations: 227.2 kB / 0.5036 GB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.3888, allocations: 0.7135 MB / 0.5043 GB, free: 13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.875e-05/0.3888, allocations: 13.81 kB / 0.5043 GB, free: 13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.3889, allocations: 24.02 kB / 0.5043 GB, free: 12.98 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3889, allocations: 0 / 0.5043 GB, free: 12.98 MB / 382.1 MB Notification: Performance of Templates: time 0.004821/0.3937, allocations: 1.708 MB / 0.506 GB, free: 12.11 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.834508863277733]