Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005891/0.005891, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.001245/0.001245, allocations: 191.9 kB / 16.67 MB, free: 5.949 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.643/1.643, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.3993/0.3993, allocations: 39.95 MB / 309.9 MB, free: 9.32 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.002134/0.002134, allocations: 71.91 kB / 435.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.447/0.4491, allocations: 56.88 MB / 492.7 MB, free: 19.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.00419/0.4534, allocations: 1.655 MB / 494.4 MB, free: 18.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.455, allocations: 0.7831 MB / 495.2 MB, free: 17.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.45e-05/0.4551, allocations: 1.094 kB / 495.2 MB, free: 17.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003923/0.4555, allocations: 57.97 kB / 495.2 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.0002591/0.4558, allocations: 54.36 kB / 495.3 MB, free: 17.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.456, allocations: 82.89 kB / 495.3 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.4563, allocations: 87.83 kB / 495.4 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.235e-05/0.4563, allocations: 13.34 kB / 495.4 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.4564, allocations: 45.27 kB / 495.5 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.4565, allocations: 24.7 kB / 495.5 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.4566, allocations: 6.344 kB / 495.5 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.4567, allocations: 30.42 kB / 495.6 MB, free: 17.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.371e-05/0.4568, allocations: 31.66 kB / 495.6 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.266e-05/0.4569, allocations: 40.88 kB / 495.6 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.4572, allocations: 116.7 kB / 495.7 MB, free: 17.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4572, allocations: 0 / 495.7 MB, free: 17.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4572, allocations: 4 kB / 495.7 MB, free: 17.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.4572, allocations: 0 / 495.7 MB, free: 17.58 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006363/0.4578, allocations: 433.2 kB / 496.2 MB, free: 17.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.4579, allocations: 13.67 kB / 496.2 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.054e-05/0.458, allocations: 14.12 kB / 496.2 MB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.4583, allocations: 225.8 kB / 496.4 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.4583, allocations: 2.453 kB / 496.4 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.4583, allocations: 5.312 kB / 496.4 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.4585, allocations: 54.81 kB / 496.5 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.4585, allocations: 0 / 496.5 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.4585, allocations: 2 kB / 496.5 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.4585, allocations: 0 / 496.5 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.435e-05/0.4586, allocations: 11.81 kB / 496.5 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002212/0.4588, allocations: 189.6 kB / 496.7 MB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.459, allocations: 56.88 kB / 496.7 MB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.683e-05/0.4591, allocations: 26.91 kB / 496.8 MB, free: 16.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.4591, allocations: 1.594 kB / 496.8 MB, free: 16.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.4593, allocations: 61.2 kB / 496.8 MB, free: 16.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.4593, allocations: 0 / 496.8 MB, free: 16.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002995/0.4596, allocations: 101 kB / 496.9 MB, free: 16.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.4596, allocations: 53.58 kB / 497 MB, free: 16.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/0.4599, allocations: 262.2 kB / 497.2 MB, free: 16.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.4599, allocations: 29.7 kB / 497.3 MB, free: 16.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.215e-05/0.46, allocations: 110.8 kB / 497.4 MB, free: 16.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.4601, allocations: 15.86 kB / 497.4 MB, free: 16.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.4601, allocations: 20.23 kB / 497.4 MB, free: 16.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.429e-05/0.4602, allocations: 329 kB / 497.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.012e-05/0.4602, allocations: 12.81 kB / 497.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.721e-05/0.4603, allocations: 31.3 kB / 497.8 MB, free: 15.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.698e-05/0.4604, allocations: 49.94 kB / 497.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4604, allocations: 0 / 497.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001585/0.4606, allocations: 86.92 kB / 497.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.4606, allocations: 4.281 kB / 497.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.4606, allocations: 1.469 kB / 497.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.4606, allocations: 0.8906 kB / 497.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.794e-05/0.4607, allocations: 14.45 kB / 497.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/0.4608, allocations: 9.312 kB / 497.9 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.837e-05/0.4608, allocations: 10.72 kB / 497.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.4608, allocations: 6.609 kB / 497.9 MB, free: 15.66 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 (7): * Single equations (assignments): 7 * 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.0001111/0.461, allocations: 132.8 kB / 498.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.461, allocations: 14.7 kB / 498.1 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.592e-05/0.461, allocations: 18.94 kB / 498.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.461, allocations: 0 / 498.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4611, allocations: 1.188 kB / 498.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.4611, allocations: 4.797 kB / 498.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.4612, allocations: 201.7 kB / 498.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4612, allocations: 0 / 498.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.192e-05/0.4613, allocations: 4.844 kB / 498.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4613, allocations: 0 / 498.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.4613, allocations: 1.25 kB / 498.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.4613, allocations: 1.5 kB / 498.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4613, allocations: 0.9844 kB / 498.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.4615, allocations: 122.4 kB / 498.4 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.4615, allocations: 84.55 kB / 498.5 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.4616, allocations: 6.422 kB / 498.5 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.558e-05/0.4616, allocations: 2.344 kB / 498.5 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.4617, allocations: 3.844 kB / 498.5 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.4617, allocations: 2.688 kB / 498.5 MB, free: 15.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001889/0.4619, allocations: 197 kB / 498.7 MB, free: 15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.122e-06/0.4619, allocations: 0 / 498.7 MB, free: 15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002223/0.4621, allocations: 31.11 kB / 498.8 MB, free: 14.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009849/0.4631, allocations: 416.3 kB / 499.2 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000181/0.4633, allocations: 41.52 kB / 499.2 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4633, allocations: 4 kB / 499.2 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.89e-05/0.4634, allocations: 22.34 kB / 499.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.4637, allocations: 29.64 kB / 499.3 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005972/0.4643, allocations: 261.8 kB / 499.5 MB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.4646, allocations: 0.7139 MB / 0.4885 GB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.519e-05/0.4646, allocations: 10.59 kB / 0.4885 GB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.4647, allocations: 13.89 kB / 0.4885 GB, free: 13.73 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4647, allocations: 3.938 kB / 0.4885 GB, free: 13.73 MB / 382.1 MB Notification: Performance of Templates: time 0.005569/0.4703, allocations: 1.508 MB / 0.49 GB, free: 13.55 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1)