Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009314/0.009314, allocations: 103.4 kB / 15.73 MB, free: 6.051 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.001839/0.00184, allocations: 193.5 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.627/1.627, allocations: 205.1 MB / 222.5 MB, free: 4.379 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.3651/0.3651, allocations: 39.94 MB / 309.8 MB, free: 9.617 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.001398/0.001398, allocations: 72.45 kB / 435.8 MB, free: 2.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.426, allocations: 56.88 MB / 492.7 MB, free: 19.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003513/0.4296, allocations: 1.833 MB / 494.6 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.4311, allocations: 0.9036 MB / 495.5 MB, free: 17.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.4313, allocations: 1.125 kB / 495.5 MB, free: 17.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006332/0.4319, allocations: 229 kB / 495.7 MB, free: 17.31 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.0004641/0.4324, allocations: 168.2 kB / 495.8 MB, free: 17.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004309/0.4328, allocations: 149.8 kB / 496 MB, free: 17.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003493/0.4332, allocations: 229.6 kB / 496.2 MB, free: 17.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.4333, allocations: 26.8 kB / 496.2 MB, free: 17.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.4335, allocations: 105.7 kB / 496.3 MB, free: 17.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.4338, allocations: 152.3 kB / 496.5 MB, free: 16.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.4339, allocations: 7.5 kB / 496.5 MB, free: 16.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.434, allocations: 48.64 kB / 496.6 MB, free: 16.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.4341, allocations: 47 kB / 496.6 MB, free: 16.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.33e-05/0.4342, allocations: 85.11 kB / 496.7 MB, free: 16.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003796/0.4346, allocations: 219.2 kB / 496.9 MB, free: 16.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4346, allocations: 0 / 496.9 MB, free: 16.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.4347, allocations: 4 kB / 496.9 MB, free: 16.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.4347, allocations: 1.625 kB / 496.9 MB, free: 16.8 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007431/0.4354, allocations: 0.5417 MB / 497.4 MB, free: 16.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.4355, allocations: 12.58 kB / 497.5 MB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.026e-05/0.4355, allocations: 25.14 kB / 497.5 MB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.4359, allocations: 273.5 kB / 497.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.436, allocations: 3.484 kB / 497.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.436, allocations: 13.75 kB / 497.8 MB, free: 16.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002336/0.4362, allocations: 98.83 kB / 497.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.4363, allocations: 3.938 kB / 497.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.4363, allocations: 5.875 kB / 497.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.4363, allocations: 1 kB / 497.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.4364, allocations: 36.19 kB / 497.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005275/0.437, allocations: 453.2 kB / 498.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.4373, allocations: 116 kB / 498.5 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.715e-05/0.4374, allocations: 43.62 kB / 498.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.4374, allocations: 7 kB / 498.5 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.4377, allocations: 107 kB / 498.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.432e-06/0.4377, allocations: 3.938 kB / 498.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001017/0.4387, allocations: 374 kB / 499 MB, free: 15.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.4388, allocations: 88.41 kB / 499.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000522/0.4393, allocations: 427.1 kB / 499.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.4393, allocations: 27.52 kB / 499.5 MB, free: 14.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.536e-05/0.4394, allocations: 153.7 kB / 499.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.192e-05/0.4395, allocations: 48.7 kB / 499.7 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.93e-05/0.4395, allocations: 35.52 kB / 499.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.488e-05/0.4396, allocations: 342.1 kB / 0.4884 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.4398, allocations: 43.09 kB / 0.4884 GB, free: 14.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.4399, allocations: 73.69 kB / 0.4885 GB, free: 14.28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.4401, allocations: 123.9 kB / 0.4886 GB, free: 14.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4401, allocations: 3.938 kB / 0.4886 GB, free: 14.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003187/0.4404, allocations: 181.2 kB / 0.4888 GB, free: 14.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.4405, allocations: 5.562 kB / 0.4888 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.4405, allocations: 1.859 kB / 0.4888 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.4405, allocations: 1.156 kB / 0.4888 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.4406, allocations: 35.66 kB / 0.4888 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.4407, allocations: 5.25 kB / 0.4888 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.685e-05/0.4408, allocations: 9.922 kB / 0.4888 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.4408, allocations: 10.16 kB / 0.4888 GB, free: 14.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001335/0.4409, allocations: 162.1 kB / 0.489 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.396e-05/0.441, allocations: 29.47 kB / 0.489 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.344e-05/0.441, allocations: 36.98 kB / 0.4891 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.4411, allocations: 2.688 kB / 0.4891 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.4411, allocations: 3.938 kB / 0.4891 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4411, allocations: 2.438 kB / 0.4891 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007608/0.4418, allocations: 0.6267 MB / 0.4897 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4419, allocations: 0.9688 kB / 0.4897 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.235e-05/0.4419, allocations: 22.19 kB / 0.4897 GB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.4419, allocations: 1.375 kB / 0.4897 GB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.4419, allocations: 4.516 kB / 0.4897 GB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.442, allocations: 2.844 kB / 0.4897 GB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.442, allocations: 0 / 0.4897 GB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004055/0.4424, allocations: 372.3 kB / 0.4901 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.602e-05/0.4425, allocations: 97.02 kB / 0.4901 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.274e-05/0.4425, allocations: 8.859 kB / 0.4902 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.4426, allocations: 9.953 kB / 0.4902 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.4427, allocations: 19.38 kB / 0.4902 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.4427, allocations: 12.61 kB / 0.4902 GB, free: 13.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003785/0.4431, allocations: 317 kB / 0.4905 GB, free: 12.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4431, allocations: 0 / 0.4905 GB, free: 12.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003764/0.4435, allocations: 43.34 kB / 0.4905 GB, free: 12.86 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001135/0.4447, allocations: 475.6 kB / 0.491 GB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003326/0.445, allocations: 121.1 kB / 0.4911 GB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.445, allocations: 3.938 kB / 0.4911 GB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.4451, allocations: 60.38 kB / 0.4912 GB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005557/0.4457, allocations: 61.42 kB / 0.4912 GB, free: 12.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008703/0.4466, allocations: 493.8 kB / 0.4917 GB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.4469, allocations: 0.7675 MB / 0.4925 GB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.711e-05/0.447, allocations: 33.66 kB / 0.4925 GB, free: 11.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.747e-05/0.4471, allocations: 28.53 kB / 0.4925 GB, free: 11.39 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4471, allocations: 0 / 0.4925 GB, free: 11.39 MB / 382.1 MB Notification: Performance of Templates: time 0.008201/0.4553, allocations: 2.778 MB / 0.4952 GB, free: 10.69 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1)