Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Test50,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006303/0.006303, allocations: 102.1 kB / 15.73 MB, free: 6.48 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.001221/0.001222, allocations: 194.6 kB / 16.67 MB, free: 6.391 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.545/1.545, allocations: 205.1 MB / 222.5 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4066/0.4066, allocations: 37.99 MB / 307.9 MB, free: 10.03 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.1. 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.001512/0.001512, allocations: 71.91 kB / 433.1 MB, free: 5.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4312/0.4328, allocations: 56.45 MB / 489.5 MB, free: 20.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.00348/0.4363, allocations: 1.677 MB / 491.2 MB, free: 18.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002246/0.4386, allocations: 1.416 MB / 492.6 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.993e-05/0.4387, allocations: 0 / 492.6 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003369/0.439, allocations: 37.33 kB / 492.6 MB, free: 17.94 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.0002612/0.4393, allocations: 61.81 kB / 492.7 MB, free: 17.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.4396, allocations: 76.69 kB / 492.8 MB, free: 17.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.4398, allocations: 109.6 kB / 492.9 MB, free: 17.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.4399, allocations: 16.53 kB / 492.9 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.842e-05/0.44, allocations: 47.38 kB / 492.9 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.4402, allocations: 36.58 kB / 493 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.4402, allocations: 9.375 kB / 493 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.4404, allocations: 66.97 kB / 493.1 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.332e-05/0.4404, allocations: 20.59 kB / 493.1 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.144e-05/0.4405, allocations: 35.42 kB / 493.1 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.4408, allocations: 138.2 kB / 493.2 MB, free: 17.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4409, allocations: 1 kB / 493.2 MB, free: 17.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4409, allocations: 4 kB / 493.2 MB, free: 17.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.4409, allocations: 0 / 493.2 MB, free: 17.64 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005821/0.4415, allocations: 411 kB / 493.6 MB, free: 17.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.4415, allocations: 14.02 kB / 493.7 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.96e-05/0.4416, allocations: 9.344 kB / 493.7 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.4419, allocations: 210 kB / 493.9 MB, free: 17.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.4419, allocations: 6.453 kB / 493.9 MB, free: 17.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.4419, allocations: 2.375 kB / 493.9 MB, free: 17.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.4421, allocations: 78.75 kB / 494 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.4422, allocations: 5.094 kB / 494 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.4422, allocations: 5.219 kB / 494 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.4422, allocations: 5.109 kB / 494 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.668e-05/0.4423, allocations: 28.06 kB / 494 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.4426, allocations: 291.7 kB / 494.3 MB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.4429, allocations: 72.33 kB / 494.4 MB, free: 16.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.454e-05/0.4429, allocations: 22.5 kB / 494.4 MB, free: 16.58 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.443, allocations: 2.703 kB / 494.4 MB, free: 16.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.4432, allocations: 77.89 kB / 494.5 MB, free: 16.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.4432, allocations: 0 / 494.5 MB, free: 16.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000651/0.4438, allocations: 199.9 kB / 494.7 MB, free: 16.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.4439, allocations: 87 kB / 494.7 MB, free: 16.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.444, allocations: 156.3 kB / 494.9 MB, free: 16.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.4441, allocations: 30.64 kB / 494.9 MB, free: 16.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.891e-05/0.4441, allocations: 94.86 kB / 495 MB, free: 16.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.4442, allocations: 27.34 kB / 495 MB, free: 16.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.4442, allocations: 27.34 kB / 495.1 MB, free: 16.03 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.048e-05/0.4443, allocations: 325.2 kB / 495.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.614e-05/0.4444, allocations: 28.44 kB / 495.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.538e-05/0.4445, allocations: 47.81 kB / 495.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.4446, allocations: 75.61 kB / 495.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4446, allocations: 0 / 495.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002091/0.4448, allocations: 109.1 kB / 495.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4448, allocations: 10.42 kB / 495.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.4449, allocations: 0 / 495.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.4449, allocations: 5.188 kB / 495.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.445, allocations: 26.22 kB / 495.7 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.445, allocations: 0 / 495.7 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.551e-05/0.4451, allocations: 3.953 kB / 495.7 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.4451, allocations: 3.141 kB / 495.7 MB, free: 15.54 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 (11): * Single equations (assignments): 11 * 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.896e-05/0.4452, allocations: 124.1 kB / 495.8 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.4452, allocations: 12.25 kB / 495.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.167e-05/0.4453, allocations: 21.67 kB / 495.8 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-06/0.4453, allocations: 1.891 kB / 495.8 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.4453, allocations: 0 / 495.8 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4453, allocations: 1.922 kB / 495.8 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004867/0.4458, allocations: 409.8 kB / 496.2 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4458, allocations: 0.7031 kB / 496.2 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.144e-05/0.4459, allocations: 10.8 kB / 496.3 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.4459, allocations: 1.094 kB / 496.3 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.4459, allocations: 11.52 kB / 496.3 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.4459, allocations: 5.547 kB / 496.3 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4459, allocations: 0.5156 kB / 496.3 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.4462, allocations: 217.4 kB / 496.5 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.69e-05/0.4462, allocations: 84.02 kB / 496.6 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.4463, allocations: 3.016 kB / 496.6 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.215e-05/0.4464, allocations: 14.95 kB / 496.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/0.4464, allocations: 10.66 kB / 496.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/0.4465, allocations: 3.969 kB / 496.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001047/0.4466, allocations: 123.9 kB / 496.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4466, allocations: 0 / 496.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003035/0.4469, allocations: 36.47 kB / 496.8 MB, free: 14.64 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 (9): * Single equations (assignments): 7 * 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.001255/0.4481, allocations: 0.4918 MB / 497.3 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000308/0.4485, allocations: 74.62 kB / 497.3 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.4485, allocations: 0 / 497.3 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.4486, allocations: 45.27 kB / 497.4 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.449, allocations: 38.56 kB / 497.4 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004983/0.4495, allocations: 210.5 kB / 497.6 MB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.4497, allocations: 0.6991 MB / 498.3 MB, free: 13.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.99e-05/0.4498, allocations: 29.33 kB / 498.3 MB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.745e-05/0.4498, allocations: 19.02 kB / 498.4 MB, free: 13.31 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4498, allocations: 0 / 498.4 MB, free: 13.31 MB / 382.1 MB Notification: Performance of Templates: time 0.008935/0.4588, allocations: 2.039 MB / 0.4887 GB, free: 13.09 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1)