Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007466/0.007466, allocations: 98.91 kB / 15.73 MB, free: 5.988 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.00156/0.00156, allocations: 191.7 kB / 16.67 MB, free: 5.918 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.588/1.588, allocations: 205.1 MB / 222.6 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.3667/0.3667, allocations: 39.94 MB / 309.8 MB, free: 9.312 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.002452/0.002452, allocations: 71.91 kB / 435.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4238/0.4263, allocations: 56.87 MB / 492.7 MB, free: 19.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003474/0.4298, allocations: 1.707 MB / 494.4 MB, free: 18.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.4314, allocations: 0.8011 MB / 495.2 MB, free: 17.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.7e-05/0.4315, allocations: 0 / 495.2 MB, free: 17.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004668/0.432, allocations: 54.95 kB / 495.3 MB, free: 17.84 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.0003205/0.4323, allocations: 62.66 kB / 495.3 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.4326, allocations: 76.44 kB / 495.4 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.4328, allocations: 103.5 kB / 495.5 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.4329, allocations: 16.53 kB / 495.5 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.035e-05/0.433, allocations: 40.59 kB / 495.6 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.815e-05/0.4331, allocations: 30.62 kB / 495.6 MB, free: 17.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.4332, allocations: 2.594 kB / 495.6 MB, free: 17.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.4333, allocations: 42.83 kB / 495.6 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.515e-05/0.4334, allocations: 27.23 kB / 495.7 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.329e-05/0.4334, allocations: 42.5 kB / 495.7 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.4337, allocations: 130.8 kB / 495.8 MB, free: 17.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4337, allocations: 0 / 495.8 MB, free: 17.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4338, allocations: 3.938 kB / 495.8 MB, free: 17.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.4338, allocations: 9.703 kB / 495.9 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.0006112/0.4344, allocations: 439.6 kB / 496.3 MB, free: 17.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.4344, allocations: 13.23 kB / 496.3 MB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.482e-05/0.4345, allocations: 19.17 kB / 496.3 MB, free: 17.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.4348, allocations: 226.2 kB / 496.5 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.4349, allocations: 2.734 kB / 496.5 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.4349, allocations: 10.5 kB / 496.5 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.4351, allocations: 53.8 kB / 496.6 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.4351, allocations: 4 kB / 496.6 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.4351, allocations: 1.891 kB / 496.6 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.4351, allocations: 0 / 496.6 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.928e-05/0.4352, allocations: 18.78 kB / 496.6 MB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/0.4356, allocations: 297.1 kB / 496.9 MB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.4358, allocations: 57 kB / 497 MB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.731e-05/0.4358, allocations: 23.84 kB / 497 MB, free: 16.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.4359, allocations: 1.359 kB / 497 MB, free: 16.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.436, allocations: 70.12 kB / 497.1 MB, free: 16.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.4361, allocations: 0 / 497.1 MB, free: 16.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006073/0.4367, allocations: 186.2 kB / 497.2 MB, free: 16.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.4367, allocations: 53.66 kB / 497.3 MB, free: 16.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.437, allocations: 266 kB / 497.6 MB, free: 16.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.437, allocations: 26.8 kB / 497.6 MB, free: 16.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.111e-05/0.4371, allocations: 112 kB / 497.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.4371, allocations: 26.09 kB / 497.7 MB, free: 15.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.4372, allocations: 25.75 kB / 497.7 MB, free: 15.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.59e-05/0.4373, allocations: 328.8 kB / 498.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.879e-05/0.4373, allocations: 20.89 kB / 498.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.742e-05/0.4374, allocations: 44.05 kB / 498.1 MB, free: 15.58 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.4376, allocations: 61.66 kB / 498.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4376, allocations: 0 / 498.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001848/0.4378, allocations: 103 kB / 498.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.4378, allocations: 5.75 kB / 498.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.4378, allocations: 0.6562 kB / 498.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.4378, allocations: 1.031 kB / 498.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.4379, allocations: 23.84 kB / 498.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.4379, allocations: 4.797 kB / 498.3 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.818e-05/0.438, allocations: 11.05 kB / 498.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.438, allocations: 3.438 kB / 498.3 MB, free: 15.46 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.0001053/0.4381, allocations: 137.5 kB / 498.5 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.4382, allocations: 14.09 kB / 498.5 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.985e-05/0.4382, allocations: 20 kB / 498.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.4382, allocations: 1.406 kB / 498.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4382, allocations: 4 kB / 498.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4382, allocations: 4.641 kB / 498.5 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004291/0.4387, allocations: 397.8 kB / 498.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4387, allocations: 0.875 kB / 498.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.625e-05/0.4387, allocations: 12.7 kB / 498.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.4387, allocations: 0.9062 kB / 498.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.4388, allocations: 6.703 kB / 498.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.4388, allocations: 5.797 kB / 498.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4388, allocations: 1.156 kB / 498.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.439, allocations: 205.9 kB / 499.1 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.72e-05/0.4391, allocations: 89.48 kB / 499.2 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.4391, allocations: 9.844 kB / 499.2 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.4392, allocations: 4.344 kB / 499.2 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.4393, allocations: 5.828 kB / 499.2 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.4393, allocations: 11.36 kB / 499.3 MB, free: 14.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002026/0.4395, allocations: 196.8 kB / 499.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4395, allocations: 0 / 499.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002835/0.4398, allocations: 27.58 kB / 499.5 MB, free: 14.55 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.001292/0.4411, allocations: 473.4 kB / 499.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001959/0.4413, allocations: 56.11 kB / 500 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4413, allocations: 1.562 kB / 500 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.745e-05/0.4414, allocations: 31.12 kB / 0.4883 GB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.4418, allocations: 38.55 kB / 0.4883 GB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005567/0.4424, allocations: 284.9 kB / 0.4886 GB, free: 13.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.4426, allocations: 0.7174 MB / 0.4893 GB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.765e-05/0.4426, allocations: 21.02 kB / 0.4893 GB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/0.4427, allocations: 16.25 kB / 0.4893 GB, free: 13.22 MB / 382.1 MB Notification: Performance of SimCode: time 1.914e-06/0.4427, allocations: 0 / 0.4893 GB, free: 13.22 MB / 382.1 MB Notification: Performance of Templates: time 0.005349/0.448, allocations: 1.72 MB / 0.491 GB, free: 13.04 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1)