Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.011/0.011, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001487/0.001487, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.632/1.632, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.3964/0.3964, allocations: 39.95 MB / 309.8 MB, free: 9.398 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.001828/0.001829, allocations: 75.89 kB / 435.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.417, allocations: 56.88 MB / 492.7 MB, free: 19.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003545/0.4206, allocations: 1.684 MB / 494.4 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.422, allocations: 0.8025 MB / 495.2 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.379e-05/0.4221, allocations: 1.094 kB / 495.2 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004037/0.4225, allocations: 87.03 kB / 495.3 MB, free: 17.71 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.0002711/0.4228, allocations: 73.06 kB / 495.4 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.4231, allocations: 85.8 kB / 495.5 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000248/0.4233, allocations: 104.9 kB / 495.6 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.4235, allocations: 19.75 kB / 495.6 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.4236, allocations: 54.64 kB / 495.6 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.4238, allocations: 62.55 kB / 495.7 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.4238, allocations: 3.719 kB / 495.7 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.4239, allocations: 43.33 kB / 495.7 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.272e-05/0.424, allocations: 24.06 kB / 495.8 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.273e-05/0.4241, allocations: 38.45 kB / 495.8 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002794/0.4243, allocations: 117.4 kB / 495.9 MB, free: 17.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4244, allocations: 4 kB / 495.9 MB, free: 17.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.4244, allocations: 1.438 kB / 495.9 MB, free: 17.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.4244, allocations: 0 / 495.9 MB, free: 17.43 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.0006421/0.425, allocations: 423.8 kB / 496.3 MB, free: 17.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.4251, allocations: 13.7 kB / 496.3 MB, free: 17.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.4251, allocations: 13.53 kB / 496.4 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.4254, allocations: 208.6 kB / 496.6 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.4254, allocations: 2.781 kB / 496.6 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.4255, allocations: 9.469 kB / 496.6 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.4256, allocations: 54.27 kB / 496.6 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.4256, allocations: 0.75 kB / 496.6 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.4257, allocations: 1.031 kB / 496.6 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4257, allocations: 1.188 kB / 496.6 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.726e-05/0.4258, allocations: 21.83 kB / 496.6 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003865/0.4262, allocations: 296.9 kB / 496.9 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.4264, allocations: 60.2 kB / 497 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.44e-05/0.4264, allocations: 19.42 kB / 497 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.4265, allocations: 2.094 kB / 497 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.4266, allocations: 72.72 kB / 497.1 MB, free: 16.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.4266, allocations: 1.406 kB / 497.1 MB, free: 16.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000661/0.4273, allocations: 176.7 kB / 497.3 MB, free: 16.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.4274, allocations: 57.39 kB / 497.3 MB, free: 16.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.4276, allocations: 215 kB / 497.5 MB, free: 16.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.4277, allocations: 25.7 kB / 497.6 MB, free: 16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.011e-05/0.4277, allocations: 105.5 kB / 497.7 MB, free: 15.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.4278, allocations: 21.27 kB / 497.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.4278, allocations: 22.48 kB / 497.7 MB, free: 15.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.789e-05/0.4279, allocations: 331.5 kB / 498 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.18e-05/0.428, allocations: 21.08 kB / 498 MB, free: 15.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.947e-05/0.4281, allocations: 35.89 kB / 498.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.4282, allocations: 69.81 kB / 498.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4282, allocations: 0 / 498.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001986/0.4284, allocations: 102.5 kB / 498.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.4284, allocations: 5.156 kB / 498.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4285, allocations: 4.031 kB / 498.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.4285, allocations: 5.156 kB / 498.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.4286, allocations: 16.36 kB / 498.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.4286, allocations: 1.281 kB / 498.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.785e-05/0.4287, allocations: 10.25 kB / 498.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.4287, allocations: 2.594 kB / 498.3 MB, free: 15.39 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 9.969e-05/0.4288, allocations: 129.7 kB / 498.4 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.4288, allocations: 9.406 kB / 498.4 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.4289, allocations: 19.44 kB / 498.4 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.4289, allocations: 1.812 kB / 498.4 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4289, allocations: 1.094 kB / 498.4 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.4289, allocations: 3.938 kB / 498.5 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/0.4293, allocations: 400.4 kB / 498.8 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.4294, allocations: 2.25 kB / 498.8 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.735e-05/0.4294, allocations: 13.3 kB / 498.9 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.4294, allocations: 7.922 kB / 498.9 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.4294, allocations: 5.406 kB / 498.9 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.4294, allocations: 6.172 kB / 498.9 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4294, allocations: 1.469 kB / 498.9 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.4297, allocations: 196.6 kB / 499.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.761e-05/0.4297, allocations: 89.95 kB / 499.2 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.4298, allocations: 6.312 kB / 499.2 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.495e-05/0.4298, allocations: 10.22 kB / 499.2 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.4299, allocations: 10.86 kB / 499.2 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.4299, allocations: 4.031 kB / 499.2 MB, free: 14.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001388/0.4301, allocations: 155.3 kB / 499.3 MB, free: 14.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.563e-06/0.4301, allocations: 1.469 kB / 499.3 MB, free: 14.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.4304, allocations: 24.88 kB / 499.4 MB, free: 14.49 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.001185/0.4315, allocations: 476 kB / 499.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.4318, allocations: 61.73 kB / 499.9 MB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4318, allocations: 0 / 499.9 MB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.316e-05/0.4319, allocations: 27.25 kB / 499.9 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.4323, allocations: 30.5 kB / 499.9 MB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004796/0.4328, allocations: 243.6 kB / 0.4885 GB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/0.433, allocations: 0.7092 MB / 0.4892 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.808e-05/0.433, allocations: 13.81 kB / 0.4892 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.4331, allocations: 19.59 kB / 0.4892 GB, free: 13.19 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4331, allocations: 4 kB / 0.4892 GB, free: 13.19 MB / 382.1 MB Notification: Performance of Templates: time 0.005484/0.4386, allocations: 1.727 MB / 0.4909 GB, free: 12.99 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1)