Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008952/0.008952, allocations: 103.7 kB / 15.73 MB, free: 6.047 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.001777/0.001777, allocations: 196.8 kB / 16.68 MB, free: 5.961 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.573/1.573, allocations: 205.1 MB / 222.5 MB, free: 4.387 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.3994/0.3994, allocations: 39.94 MB / 309.8 MB, free: 9.594 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.00145/0.00145, allocations: 79.89 kB / 435.9 MB, free: 2.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4052, allocations: 56.87 MB / 492.7 MB, free: 19.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003745/0.409, allocations: 1.688 MB / 494.4 MB, free: 18.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.4104, allocations: 0.8043 MB / 495.2 MB, free: 17.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.02e-05/0.4105, allocations: 1.156 kB / 495.2 MB, free: 17.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.4109, allocations: 43.52 kB / 495.3 MB, free: 17.83 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.0002543/0.4111, allocations: 48.91 kB / 495.3 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.4114, allocations: 87.95 kB / 495.4 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.4116, allocations: 92.66 kB / 495.5 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.4118, allocations: 27.62 kB / 495.5 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.4119, allocations: 36.69 kB / 495.5 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.4121, allocations: 35.36 kB / 495.6 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.4121, allocations: 3.156 kB / 495.6 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.4122, allocations: 42.77 kB / 495.6 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.437e-05/0.4123, allocations: 18.66 kB / 495.6 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.844e-05/0.4124, allocations: 33.66 kB / 495.7 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.4127, allocations: 114.7 kB / 495.8 MB, free: 17.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.4128, allocations: 0 / 495.8 MB, free: 17.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.4128, allocations: 0 / 495.8 MB, free: 17.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.4128, allocations: 4 kB / 495.8 MB, free: 17.56 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.0007465/0.4135, allocations: 413.8 kB / 496.2 MB, free: 17.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/0.4136, allocations: 13.39 kB / 496.2 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.921e-05/0.4137, allocations: 10.09 kB / 496.2 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.4141, allocations: 201.6 kB / 496.4 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.4141, allocations: 10.09 kB / 496.4 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.935e-05/0.4141, allocations: 7.641 kB / 496.4 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.4143, allocations: 57.77 kB / 496.5 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.4144, allocations: 4 kB / 496.5 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.4144, allocations: 0.9062 kB / 496.5 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.4144, allocations: 5.375 kB / 496.5 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.4145, allocations: 17.84 kB / 496.5 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005174/0.4151, allocations: 285.9 kB / 496.8 MB, free: 16.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.4153, allocations: 64.67 kB / 496.9 MB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.087e-05/0.4154, allocations: 20.83 kB / 496.9 MB, free: 16.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.4154, allocations: 1.406 kB / 496.9 MB, free: 16.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.4156, allocations: 68.67 kB / 496.9 MB, free: 16.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.4156, allocations: 0 / 496.9 MB, free: 16.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006915/0.4163, allocations: 168.8 kB / 497.1 MB, free: 16.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.4164, allocations: 57.36 kB / 497.2 MB, free: 16.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.4166, allocations: 188.7 kB / 497.4 MB, free: 16.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.4166, allocations: 26.52 kB / 497.4 MB, free: 16.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/0.4167, allocations: 109.4 kB / 497.5 MB, free: 16.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.4167, allocations: 24.66 kB / 497.5 MB, free: 16.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.4168, allocations: 21.34 kB / 497.5 MB, free: 16.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.4169, allocations: 326.9 kB / 497.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.46e-05/0.417, allocations: 20.81 kB / 497.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.4171, allocations: 43.98 kB / 497.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.4173, allocations: 53.38 kB / 498 MB, free: 15.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.4173, allocations: 1.062 kB / 498 MB, free: 15.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002146/0.4175, allocations: 105.4 kB / 498.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.4175, allocations: 5.219 kB / 498.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.4175, allocations: 0 / 498.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.4176, allocations: 1.25 kB / 498.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.4177, allocations: 20.2 kB / 498.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.4177, allocations: 1.5 kB / 498.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.785e-05/0.4178, allocations: 6.516 kB / 498.1 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.4178, allocations: 2.656 kB / 498.1 MB, free: 15.56 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 0.000104/0.4179, allocations: 129.8 kB / 498.2 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.4179, allocations: 13.34 kB / 498.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.226e-05/0.418, allocations: 15.7 kB / 498.3 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.418, allocations: 0 / 498.3 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.418, allocations: 9.469 kB / 498.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.418, allocations: 8.906 kB / 498.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004688/0.4185, allocations: 394 kB / 498.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.4185, allocations: 3.938 kB / 498.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.858e-05/0.4185, allocations: 9.75 kB / 498.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4186, allocations: 0 / 498.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.4186, allocations: 7.016 kB / 498.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.4186, allocations: 1.766 kB / 498.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4186, allocations: 0 / 498.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.4188, allocations: 208.4 kB / 498.9 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.605e-05/0.4189, allocations: 85.56 kB / 499 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.419, allocations: 5.938 kB / 499 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.419, allocations: 7.062 kB / 499 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.4191, allocations: 5.75 kB / 499 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.4191, allocations: 4.328 kB / 499 MB, free: 14.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.4193, allocations: 147.5 kB / 499.1 MB, free: 14.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4193, allocations: 0 / 499.1 MB, free: 14.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.4195, allocations: 22.08 kB / 499.2 MB, free: 14.67 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.0011/0.4207, allocations: 471.2 kB / 499.6 MB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.4209, allocations: 60.3 kB / 499.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4209, allocations: 0 / 499.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.141e-05/0.421, allocations: 32.77 kB / 499.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.4213, allocations: 39.84 kB / 499.8 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004696/0.4218, allocations: 225.6 kB / 500 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.422, allocations: 0.7021 MB / 0.4889 GB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.688e-05/0.4221, allocations: 17.11 kB / 0.489 GB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.4221, allocations: 15.95 kB / 0.489 GB, free: 13.37 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4221, allocations: 0 / 0.489 GB, free: 13.37 MB / 382.1 MB Notification: Performance of Templates: time 0.005666/0.4278, allocations: 1.724 MB / 0.4907 GB, free: 13.16 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1)