Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00754/0.00754, allocations: 100.4 kB / 15.73 MB, free: 6.469 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.001388/0.001388, allocations: 196.7 kB / 16.67 MB, free: 6.379 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.665/1.665, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.3926/0.3926, allocations: 39.94 MB / 309.8 MB, free: 9.383 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.002327/0.002327, allocations: 71.91 kB / 435.9 MB, free: 2.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4071, allocations: 56.87 MB / 492.7 MB, free: 19.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.00478/0.412, allocations: 1.689 MB / 494.4 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.4138, allocations: 0.8087 MB / 495.2 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.144e-05/0.4139, allocations: 1.75 kB / 495.2 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003593/0.4142, allocations: 39.8 kB / 495.3 MB, free: 17.68 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.0002234/0.4145, allocations: 54.25 kB / 495.3 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.4148, allocations: 80.53 kB / 495.4 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.415, allocations: 94.92 kB / 495.5 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.4151, allocations: 24.97 kB / 495.5 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.479e-05/0.4152, allocations: 41.16 kB / 495.5 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.445e-05/0.4153, allocations: 25.48 kB / 495.6 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.4153, allocations: 7.406 kB / 495.6 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.4154, allocations: 43.58 kB / 495.6 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.993e-05/0.4155, allocations: 22.17 kB / 495.6 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.77e-05/0.4156, allocations: 32.88 kB / 495.7 MB, free: 17.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.4158, allocations: 111.6 kB / 495.8 MB, free: 17.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.4158, allocations: 4 kB / 495.8 MB, free: 17.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4158, allocations: 0 / 495.8 MB, free: 17.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.4159, allocations: 1.031 kB / 495.8 MB, free: 17.41 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.0006265/0.4165, allocations: 416.6 kB / 496.2 MB, free: 17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.4166, allocations: 18.62 kB / 496.2 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.4166, allocations: 9.344 kB / 496.2 MB, free: 16.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.4169, allocations: 202.2 kB / 496.4 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.417, allocations: 1.562 kB / 496.4 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.417, allocations: 19.08 kB / 496.4 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.4172, allocations: 49.38 kB / 496.5 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.4172, allocations: 2.125 kB / 496.5 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.4173, allocations: 4 kB / 496.5 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.4173, allocations: 1.438 kB / 496.5 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.617e-05/0.4174, allocations: 21.5 kB / 496.5 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.4178, allocations: 286.4 kB / 496.8 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.4179, allocations: 56.55 kB / 496.9 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.812e-05/0.418, allocations: 24.03 kB / 496.9 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.418, allocations: 1.281 kB / 496.9 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.4182, allocations: 70.59 kB / 496.9 MB, free: 16.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.754e-06/0.4182, allocations: 0 / 496.9 MB, free: 16.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006484/0.4189, allocations: 179.3 kB / 497.1 MB, free: 16.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.419, allocations: 53.41 kB / 497.2 MB, free: 16.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.4192, allocations: 189 kB / 497.4 MB, free: 16.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.4192, allocations: 26.95 kB / 497.4 MB, free: 16.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.139e-05/0.4192, allocations: 100.8 kB / 497.5 MB, free: 15.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.4193, allocations: 28.8 kB / 497.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.4193, allocations: 25.39 kB / 497.5 MB, free: 15.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.804e-05/0.4194, allocations: 330.8 kB / 497.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.59e-05/0.4195, allocations: 16.73 kB / 497.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.355e-05/0.4195, allocations: 35.47 kB / 497.9 MB, free: 15.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.4197, allocations: 63.16 kB / 498 MB, free: 15.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4197, allocations: 0 / 498 MB, free: 15.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001803/0.4198, allocations: 97.41 kB / 498.1 MB, free: 15.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.4199, allocations: 8.25 kB / 498.1 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4199, allocations: 1.375 kB / 498.1 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.4199, allocations: 2.062 kB / 498.1 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.812e-05/0.42, allocations: 19.2 kB / 498.1 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.42, allocations: 5.328 kB / 498.1 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.499e-05/0.4201, allocations: 6.203 kB / 498.1 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.4201, allocations: 3.156 kB / 498.1 MB, free: 15.41 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.555e-05/0.4202, allocations: 129.6 kB / 498.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.4202, allocations: 13.09 kB / 498.3 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.883e-05/0.4203, allocations: 26.84 kB / 498.3 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.4203, allocations: 1.062 kB / 498.3 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4203, allocations: 3.938 kB / 498.3 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.4203, allocations: 5.828 kB / 498.3 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004491/0.4208, allocations: 389.4 kB / 498.7 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4208, allocations: 1.219 kB / 498.7 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.582e-05/0.4208, allocations: 8.984 kB / 498.7 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.4208, allocations: 0 / 498.7 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.4209, allocations: 15.03 kB / 498.7 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.4209, allocations: 1.406 kB / 498.7 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4209, allocations: 0.6094 kB / 498.7 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.4211, allocations: 200.5 kB / 498.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.4211, allocations: 85.03 kB / 499 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.4212, allocations: 5.922 kB / 499 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.806e-05/0.4213, allocations: 3.359 kB / 499 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.4213, allocations: 13.39 kB / 499 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.4213, allocations: 8.812 kB / 499 MB, free: 14.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.4214, allocations: 143.2 kB / 499.1 MB, free: 14.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4214, allocations: 0 / 499.1 MB, free: 14.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.4217, allocations: 22.53 kB / 499.2 MB, free: 14.52 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.001088/0.4228, allocations: 466.7 kB / 499.6 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.423, allocations: 61.06 kB / 499.7 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.423, allocations: 0 / 499.7 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.235e-05/0.4231, allocations: 32.17 kB / 499.7 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.4235, allocations: 37.11 kB / 499.7 MB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000482/0.424, allocations: 223.4 kB / 500 MB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.4242, allocations: 0.7049 MB / 0.4889 GB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.773e-05/0.4243, allocations: 17.23 kB / 0.489 GB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.4243, allocations: 21.16 kB / 0.489 GB, free: 13.21 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4243, allocations: 4 kB / 0.489 GB, free: 13.21 MB / 382.1 MB Notification: Performance of Templates: time 0.005522/0.4298, allocations: 1.716 MB / 0.4907 GB, free: 13.02 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1)