Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009263/0.009263, allocations: 96.84 kB / 15.73 MB, free: 6.047 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.001796/0.001796, allocations: 192.8 kB / 16.67 MB, free: 5.957 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.581/1.581, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.3682/0.3682, allocations: 38 MB / 307.9 MB, free: 10.11 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.001751/0.001751, allocations: 71.91 kB / 433.1 MB, free: 5.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4211, allocations: 56.46 MB / 489.5 MB, free: 19.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002985/0.4242, allocations: 1.667 MB / 491.2 MB, free: 18.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.4255, allocations: 0.8156 MB / 492 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.683e-05/0.4256, allocations: 1.375 kB / 492 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003287/0.426, allocations: 41.23 kB / 492 MB, free: 18.18 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.0002489/0.4262, allocations: 50.11 kB / 492.1 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.4265, allocations: 88.44 kB / 492.2 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.4267, allocations: 99.2 kB / 492.3 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.4268, allocations: 15.3 kB / 492.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.4269, allocations: 41.48 kB / 492.3 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.929e-05/0.427, allocations: 30.06 kB / 492.4 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.427, allocations: 3.5 kB / 492.4 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.4272, allocations: 43.27 kB / 492.4 MB, free: 18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.379e-05/0.4272, allocations: 22.08 kB / 492.4 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.906e-05/0.4273, allocations: 33.5 kB / 492.5 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.4275, allocations: 118.8 kB / 492.6 MB, free: 17.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4275, allocations: 1.312 kB / 492.6 MB, free: 17.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4275, allocations: 0 / 492.6 MB, free: 17.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.4275, allocations: 0 / 492.6 MB, free: 17.91 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.000639/0.4282, allocations: 408.6 kB / 493 MB, free: 17.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.4282, allocations: 13.81 kB / 493 MB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.421e-05/0.4283, allocations: 10.03 kB / 493 MB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.4286, allocations: 198.4 kB / 493.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.4286, allocations: 6.594 kB / 493.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.4287, allocations: 15.12 kB / 493.2 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.4288, allocations: 58.2 kB / 493.3 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.4289, allocations: 0 / 493.3 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.4289, allocations: 0.875 kB / 493.3 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.4289, allocations: 1.094 kB / 493.3 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.994e-05/0.429, allocations: 17.62 kB / 493.3 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.4294, allocations: 290.2 kB / 493.6 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.4296, allocations: 65.86 kB / 493.6 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.667e-05/0.4296, allocations: 19 kB / 493.7 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.4297, allocations: 1.156 kB / 493.7 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001483/0.4298, allocations: 66.23 kB / 493.7 MB, free: 16.83 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.164e-06/0.4298, allocations: 0 / 493.7 MB, free: 16.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006629/0.4305, allocations: 176.3 kB / 493.9 MB, free: 16.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.4306, allocations: 57.45 kB / 493.9 MB, free: 16.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.4308, allocations: 184.8 kB / 494.1 MB, free: 16.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.4308, allocations: 26.92 kB / 494.2 MB, free: 16.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.4309, allocations: 99.2 kB / 494.2 MB, free: 16.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.4309, allocations: 24.83 kB / 494.3 MB, free: 16.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.431, allocations: 26.09 kB / 494.3 MB, free: 16.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.853e-05/0.4311, allocations: 331.6 kB / 494.6 MB, free: 16.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.912e-05/0.4311, allocations: 25.28 kB / 494.6 MB, free: 16.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.021e-05/0.4312, allocations: 34.16 kB / 494.7 MB, free: 16.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.4314, allocations: 58.02 kB / 494.7 MB, free: 15.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.4314, allocations: 1.062 kB / 494.7 MB, free: 15.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001951/0.4316, allocations: 101.2 kB / 494.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.4316, allocations: 9.938 kB / 494.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4316, allocations: 0 / 494.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.4316, allocations: 2.094 kB / 494.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.4318, allocations: 15.02 kB / 494.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.4318, allocations: 1.094 kB / 494.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.034e-05/0.4318, allocations: 10.92 kB / 494.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.4318, allocations: 7.938 kB / 494.9 MB, free: 15.91 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 9.973e-05/0.432, allocations: 133.4 kB / 495 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.432, allocations: 8.562 kB / 495 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.358e-05/0.432, allocations: 19.17 kB / 495 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.432, allocations: 2.25 kB / 495 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.4321, allocations: 0 / 495 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4321, allocations: 3.938 kB / 495 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004333/0.4325, allocations: 394 kB / 495.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.4325, allocations: 1.125 kB / 495.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.431e-05/0.4326, allocations: 8.25 kB / 495.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.4326, allocations: 1.094 kB / 495.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.4326, allocations: 11.67 kB / 495.5 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.4326, allocations: 1.031 kB / 495.5 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4326, allocations: 0 / 495.5 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.4328, allocations: 208.8 kB / 495.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.4329, allocations: 84.86 kB / 495.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.4329, allocations: 7.062 kB / 495.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.002e-05/0.433, allocations: 5.844 kB / 495.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.433, allocations: 10.81 kB / 495.8 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.433, allocations: 4.047 kB / 495.8 MB, free: 15.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001191/0.4332, allocations: 147.5 kB / 495.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4332, allocations: 0 / 495.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.4334, allocations: 26.31 kB / 495.9 MB, free: 15.02 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.001099/0.4346, allocations: 467.4 kB / 496.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002031/0.4348, allocations: 56.09 kB / 496.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4348, allocations: 0 / 496.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.939e-05/0.4349, allocations: 32.05 kB / 496.5 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.0003664/0.4352, allocations: 31.28 kB / 496.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004627/0.4357, allocations: 229.7 kB / 496.7 MB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/0.4359, allocations: 0.706 MB / 497.4 MB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.847e-05/0.4359, allocations: 20.23 kB / 497.5 MB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.436, allocations: 16.36 kB / 497.5 MB, free: 13.73 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.436, allocations: 4 kB / 497.5 MB, free: 13.72 MB / 382.1 MB Notification: Performance of Templates: time 0.007022/0.443, allocations: 1.723 MB / 499.2 MB, free: 13.52 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1)