Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Test44,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006655/0.006655, allocations: 102 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001208, allocations: 195.9 kB / 16.68 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3944/0.3944, allocations: 39.95 MB / 309.8 MB, free: 9.375 MB / 254.1 MB 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 79.86 kB / 435.8 MB, free: 2.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2983, allocations: 56.87 MB / 492.7 MB, free: 19.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002636/0.3009, allocations: 1.7 MB / 494.4 MB, free: 18.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.302, allocations: 0.7984 MB / 495.2 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.189e-05/0.3021, allocations: 3.938 kB / 495.2 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002687/0.3024, allocations: 45.38 kB / 495.3 MB, free: 17.62 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.3026, allocations: 58.64 kB / 495.3 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.3028, allocations: 77.89 kB / 495.4 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.3029, allocations: 98.42 kB / 495.5 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.118e-05/0.303, allocations: 16.28 kB / 495.5 MB, free: 17.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.496e-05/0.3031, allocations: 44.48 kB / 495.6 MB, free: 17.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.691e-05/0.3032, allocations: 30.39 kB / 495.6 MB, free: 17.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.3032, allocations: 7.812 kB / 495.6 MB, free: 17.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.268e-05/0.3033, allocations: 38.31 kB / 495.6 MB, free: 17.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.3033, allocations: 22.3 kB / 495.7 MB, free: 17.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.948e-05/0.3034, allocations: 42.06 kB / 495.7 MB, free: 17.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.3036, allocations: 112.3 kB / 495.8 MB, free: 17.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.3036, allocations: 0 / 495.8 MB, free: 17.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3036, allocations: 1.562 kB / 495.8 MB, free: 17.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.3036, allocations: 0 / 495.8 MB, free: 17.36 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.0004271/0.304, allocations: 421.9 kB / 496.2 MB, free: 16.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.3041, allocations: 17.58 kB / 496.2 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.3041, allocations: 10.94 kB / 496.2 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.3043, allocations: 207.6 kB / 496.4 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.3043, allocations: 6.203 kB / 496.5 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.3044, allocations: 10.5 kB / 496.5 MB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.3045, allocations: 53.39 kB / 496.5 MB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3045, allocations: 0.6562 kB / 496.5 MB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.3045, allocations: 1.312 kB / 496.5 MB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.3045, allocations: 0 / 496.5 MB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.958e-05/0.3046, allocations: 22.36 kB / 496.5 MB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.3049, allocations: 284.3 kB / 496.8 MB, free: 16.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.3051, allocations: 60.64 kB / 496.9 MB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.764e-05/0.3051, allocations: 19.28 kB / 496.9 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.3052, allocations: 1.562 kB / 496.9 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001217/0.3053, allocations: 73.53 kB / 497 MB, free: 16.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.3053, allocations: 0 / 497 MB, free: 16.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004691/0.3058, allocations: 173 kB / 497.1 MB, free: 16.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/0.3058, allocations: 53.25 kB / 497.2 MB, free: 16.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.306, allocations: 198.1 kB / 497.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.306, allocations: 26.95 kB / 497.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/0.306, allocations: 112.3 kB / 497.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.3061, allocations: 21.8 kB / 497.5 MB, free: 15.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.3061, allocations: 22.91 kB / 497.6 MB, free: 15.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.715e-05/0.3061, allocations: 325.2 kB / 497.9 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.502e-05/0.3062, allocations: 26 kB / 497.9 MB, free: 15.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.73e-05/0.3063, allocations: 39.94 kB / 497.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.73e-05/0.3064, allocations: 65.34 kB / 498 MB, free: 15.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3064, allocations: 0 / 498 MB, free: 15.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000157/0.3065, allocations: 105.7 kB / 498.1 MB, free: 15.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.3066, allocations: 5.688 kB / 498.1 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3066, allocations: 1.031 kB / 498.1 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.3066, allocations: 1.562 kB / 498.1 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.09e-05/0.3067, allocations: 14.39 kB / 498.1 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.3067, allocations: 1.5 kB / 498.1 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.207e-05/0.3067, allocations: 8.062 kB / 498.1 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.3067, allocations: 9.625 kB / 498.2 MB, free: 15.34 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 6.566e-05/0.3068, allocations: 126.8 kB / 498.3 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.933e-05/0.3068, allocations: 13.67 kB / 498.3 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.405e-05/0.3069, allocations: 17.5 kB / 498.3 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3069, allocations: 1.25 kB / 498.3 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3069, allocations: 0 / 498.3 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3069, allocations: 5.219 kB / 498.3 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003443/0.3073, allocations: 397.6 kB / 498.7 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3073, allocations: 1.719 kB / 498.7 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.029e-05/0.3073, allocations: 8.5 kB / 498.7 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3073, allocations: 1.438 kB / 498.7 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.3073, allocations: 10.55 kB / 498.7 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3073, allocations: 1.484 kB / 498.7 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3073, allocations: 2.031 kB / 498.7 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.3075, allocations: 205.1 kB / 498.9 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.691e-05/0.3075, allocations: 88.38 kB / 499 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.3076, allocations: 13.98 kB / 499 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.535e-05/0.3076, allocations: 2.75 kB / 499 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.3077, allocations: 6.25 kB / 499 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.3077, allocations: 3.438 kB / 499 MB, free: 14.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.977e-05/0.3078, allocations: 151.6 kB / 499.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3078, allocations: 0 / 499.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.3081, allocations: 23 kB / 499.2 MB, free: 14.45 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.0008895/0.309, allocations: 480.5 kB / 499.7 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000168/0.3091, allocations: 60.69 kB / 499.7 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3091, allocations: 1.5 kB / 499.7 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.63e-05/0.3092, allocations: 31.28 kB / 499.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.3095, allocations: 30.53 kB / 499.8 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003582/0.3099, allocations: 230.4 kB / 0.4883 GB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.31, allocations: 0.707 MB / 0.489 GB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.588e-05/0.3101, allocations: 16.17 kB / 0.489 GB, free: 13.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.223e-05/0.3101, allocations: 16.78 kB / 0.489 GB, free: 13.14 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3101, allocations: 1.219 kB / 0.489 GB, free: 13.14 MB / 382.1 MB Notification: Performance of Templates: time 0.004209/0.3144, allocations: 1.7 MB / 0.4907 GB, free: 12.95 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1)