Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009211/0.009211, allocations: 99.41 kB / 15.73 MB, free: 6.453 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.00245/0.00245, allocations: 190.2 kB / 16.67 MB, free: 6.367 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.622/1.622, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.3752/0.3752, allocations: 38 MB / 307.9 MB, free: 9.969 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.00183/0.00183, allocations: 79.89 kB / 433.1 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4119, allocations: 56.47 MB / 489.5 MB, free: 19.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003345/0.4153, allocations: 1.661 MB / 491.2 MB, free: 18.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.4168, allocations: 0.8166 MB / 492 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.644e-05/0.417, allocations: 1.312 kB / 492 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003591/0.4174, allocations: 30.72 kB / 492 MB, free: 18.2 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.0002657/0.4176, allocations: 58.27 kB / 492.1 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.4179, allocations: 80.28 kB / 492.2 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.4182, allocations: 94.88 kB / 492.3 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.4183, allocations: 20.5 kB / 492.3 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.4184, allocations: 36.97 kB / 492.3 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.761e-05/0.4185, allocations: 35.86 kB / 492.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.4185, allocations: 2.938 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.4187, allocations: 46.36 kB / 492.4 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.474e-05/0.4187, allocations: 17.75 kB / 492.4 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.853e-05/0.4188, allocations: 29.67 kB / 492.4 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.4191, allocations: 112.2 kB / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.4191, allocations: 0 / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4191, allocations: 7.938 kB / 492.6 MB, free: 17.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.4191, allocations: 0 / 492.6 MB, free: 17.94 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.000679/0.4198, allocations: 408.8 kB / 493 MB, free: 17.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.4199, allocations: 13.39 kB / 493 MB, free: 17.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.453e-05/0.4199, allocations: 10.44 kB / 493 MB, free: 17.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.4203, allocations: 206.3 kB / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.4203, allocations: 6.625 kB / 493.2 MB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/0.4204, allocations: 11.22 kB / 493.2 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.4206, allocations: 57.53 kB / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.4206, allocations: 3.984 kB / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.4206, allocations: 1.281 kB / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.4207, allocations: 0 / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.389e-05/0.4208, allocations: 19.39 kB / 493.3 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.4212, allocations: 289.3 kB / 493.6 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.4214, allocations: 64.81 kB / 493.6 MB, free: 16.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.551e-05/0.4215, allocations: 25.12 kB / 493.7 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.4215, allocations: 1.031 kB / 493.7 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.4217, allocations: 65.09 kB / 493.7 MB, free: 16.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.854e-06/0.4217, allocations: 3.938 kB / 493.7 MB, free: 16.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005667/0.4222, allocations: 171 kB / 493.9 MB, free: 16.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.4223, allocations: 56.53 kB / 493.9 MB, free: 16.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.4225, allocations: 191 kB / 494.1 MB, free: 16.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.4225, allocations: 26.92 kB / 494.2 MB, free: 16.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/0.4226, allocations: 103.9 kB / 494.3 MB, free: 16.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.4226, allocations: 22.48 kB / 494.3 MB, free: 16.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.4226, allocations: 26.28 kB / 494.3 MB, free: 16.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.703e-05/0.4227, allocations: 325.2 kB / 494.6 MB, free: 16.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.69e-05/0.4228, allocations: 24.95 kB / 494.6 MB, free: 16.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.088e-05/0.4229, allocations: 36.5 kB / 494.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.423, allocations: 52.92 kB / 494.7 MB, free: 16.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.423, allocations: 3.938 kB / 494.7 MB, free: 16.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001829/0.4232, allocations: 101.8 kB / 494.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.4232, allocations: 5.375 kB / 494.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.4232, allocations: 0.6875 kB / 494.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.4232, allocations: 5.594 kB / 494.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.4233, allocations: 19.17 kB / 494.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.4234, allocations: 1.812 kB / 494.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.009e-05/0.4234, allocations: 10.66 kB / 494.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.4234, allocations: 2.156 kB / 494.9 MB, free: 15.93 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 8.705e-05/0.4235, allocations: 125.9 kB / 495 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.4236, allocations: 9.234 kB / 495 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.155e-05/0.4236, allocations: 15.03 kB / 495 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.4236, allocations: 5.094 kB / 495 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.4236, allocations: 0.5156 kB / 495 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.4236, allocations: 6.141 kB / 495 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004262/0.4241, allocations: 388.2 kB / 495.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.4241, allocations: 1.281 kB / 495.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.301e-05/0.4241, allocations: 8.906 kB / 495.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.4241, allocations: 1.797 kB / 495.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.4241, allocations: 6.219 kB / 495.4 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.4242, allocations: 1.969 kB / 495.4 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4242, allocations: 8.188 kB / 495.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.4244, allocations: 209.2 kB / 495.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.65e-05/0.4245, allocations: 88.42 kB / 495.7 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.4245, allocations: 10.61 kB / 495.7 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.159e-05/0.4246, allocations: 7.453 kB / 495.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/0.4247, allocations: 9.578 kB / 495.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.4247, allocations: 3.719 kB / 495.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001585/0.4248, allocations: 143.6 kB / 495.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4249, allocations: 0 / 495.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003026/0.4252, allocations: 25.8 kB / 495.9 MB, free: 15.04 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.001148/0.4263, allocations: 469 kB / 496.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.4265, allocations: 51.88 kB / 496.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4265, allocations: 1.094 kB / 496.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.216e-05/0.4266, allocations: 32.73 kB / 496.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.427, allocations: 38.25 kB / 496.5 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005058/0.4275, allocations: 226.3 kB / 496.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.4277, allocations: 0.7009 MB / 497.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.837e-05/0.4278, allocations: 20.44 kB / 497.5 MB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.925e-05/0.4278, allocations: 16.92 kB / 497.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4278, allocations: 0 / 497.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of Templates: time 0.005967/0.4338, allocations: 1.73 MB / 499.2 MB, free: 13.54 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1)