Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00734/0.00734, allocations: 100.3 kB / 15.73 MB, free: 5.996 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.00131/0.00131, allocations: 193.1 kB / 16.67 MB, free: 5.918 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.602/1.602, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.4453/0.4453, allocations: 37.99 MB / 307.9 MB, free: 10.09 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.001576/0.001576, allocations: 83.88 kB / 433.1 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4115, allocations: 56.46 MB / 489.5 MB, free: 19.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003396/0.4149, allocations: 1.668 MB / 491.2 MB, free: 18.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.4164, allocations: 0.8083 MB / 492 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.481e-05/0.4165, allocations: 5.094 kB / 492 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003833/0.4169, allocations: 83.08 kB / 492.1 MB, free: 18.25 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.000264/0.4171, allocations: 72.5 kB / 492.1 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.4174, allocations: 84.66 kB / 492.2 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003416/0.4178, allocations: 106 kB / 492.3 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.4179, allocations: 16.66 kB / 492.3 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.4181, allocations: 54.36 kB / 492.4 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.4183, allocations: 53.95 kB / 492.5 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/0.4183, allocations: 4.312 kB / 492.5 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.4185, allocations: 42.34 kB / 492.5 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.825e-05/0.4186, allocations: 24.39 kB / 492.5 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.505e-05/0.4186, allocations: 38.11 kB / 492.6 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.419, allocations: 121.4 kB / 492.7 MB, free: 17.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.419, allocations: 4.969 kB / 492.7 MB, free: 17.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.419, allocations: 0 / 492.7 MB, free: 17.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.419, allocations: 0 / 492.7 MB, free: 17.97 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.0005652/0.4196, allocations: 417 kB / 493.1 MB, free: 17.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.4196, allocations: 12.61 kB / 493.1 MB, free: 17.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.4197, allocations: 11.34 kB / 493.1 MB, free: 17.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.4199, allocations: 210.9 kB / 493.3 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.42, allocations: 6.625 kB / 493.3 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.42, allocations: 10.19 kB / 493.3 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.4201, allocations: 50.59 kB / 493.4 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4202, allocations: 0 / 493.4 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.4202, allocations: 5.25 kB / 493.4 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.4202, allocations: 0.6562 kB / 493.4 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.972e-05/0.4203, allocations: 18.61 kB / 493.4 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.4207, allocations: 295.7 kB / 493.7 MB, free: 16.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.4208, allocations: 64.88 kB / 493.8 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.469e-05/0.4209, allocations: 20.39 kB / 493.8 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.4209, allocations: 1.094 kB / 493.8 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.4211, allocations: 70.05 kB / 493.9 MB, free: 16.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.4211, allocations: 0 / 493.9 MB, free: 16.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005779/0.4217, allocations: 176.9 kB / 494 MB, free: 16.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.4217, allocations: 57.23 kB / 494.1 MB, free: 16.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.422, allocations: 218.3 kB / 494.3 MB, free: 16.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.422, allocations: 31.44 kB / 494.3 MB, free: 16.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.256e-05/0.4221, allocations: 104.9 kB / 494.4 MB, free: 16.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.4221, allocations: 22.17 kB / 494.4 MB, free: 16.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.4222, allocations: 25.8 kB / 494.5 MB, free: 16.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.515e-05/0.4222, allocations: 330.8 kB / 494.8 MB, free: 16.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.946e-05/0.4223, allocations: 21.84 kB / 494.8 MB, free: 16.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.718e-05/0.4224, allocations: 35.09 kB / 494.9 MB, free: 16.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.4225, allocations: 58.83 kB / 494.9 MB, free: 16.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4225, allocations: 0 / 494.9 MB, free: 16.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001836/0.4227, allocations: 105.7 kB / 495 MB, free: 15.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.4227, allocations: 9.875 kB / 495 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.4227, allocations: 0 / 495 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.4228, allocations: 1.75 kB / 495 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.4229, allocations: 19.11 kB / 495 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.4229, allocations: 1.031 kB / 495 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.411e-05/0.4229, allocations: 7.188 kB / 495.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.4229, allocations: 7.312 kB / 495.1 MB, free: 15.94 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.878e-05/0.423, allocations: 124.7 kB / 495.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.4231, allocations: 13.59 kB / 495.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.496e-05/0.4231, allocations: 20.28 kB / 495.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4231, allocations: 1.438 kB / 495.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4231, allocations: 0 / 495.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4232, allocations: 4.547 kB / 495.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004449/0.4236, allocations: 396.6 kB / 495.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4236, allocations: 1.062 kB / 495.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.407e-05/0.4237, allocations: 13.23 kB / 495.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.4237, allocations: 1.672 kB / 495.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.4237, allocations: 9.656 kB / 495.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4237, allocations: 5.062 kB / 495.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.4237, allocations: 1.75 kB / 495.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.424, allocations: 201.1 kB / 495.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-05/0.424, allocations: 93.66 kB / 495.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.4241, allocations: 5.844 kB / 495.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.068e-05/0.4241, allocations: 10.91 kB / 495.9 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.4242, allocations: 5.969 kB / 495.9 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.4242, allocations: 8.328 kB / 496 MB, free: 15.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000145/0.4244, allocations: 156 kB / 496.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4244, allocations: 0 / 496.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002766/0.4247, allocations: 26.09 kB / 496.1 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.001125/0.4258, allocations: 463.4 kB / 496.6 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.426, allocations: 63.97 kB / 496.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.426, allocations: 0 / 496.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.634e-05/0.4261, allocations: 28.23 kB / 496.7 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.0003501/0.4265, allocations: 31.22 kB / 496.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005006/0.427, allocations: 251.3 kB / 497 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.4272, allocations: 0.7091 MB / 497.7 MB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.592e-05/0.4273, allocations: 12.92 kB / 497.7 MB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.227e-05/0.4273, allocations: 20.11 kB / 497.7 MB, free: 13.75 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4273, allocations: 0 / 497.7 MB, free: 13.75 MB / 382.1 MB Notification: Performance of Templates: time 0.006061/0.4334, allocations: 1.743 MB / 499.4 MB, free: 13.54 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1)