Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00769/0.00769, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001283/0.001283, allocations: 195.8 kB / 16.68 MB, free: 5.93 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.653/1.653, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.3806/0.3806, allocations: 37.99 MB / 307.9 MB, free: 10.01 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.00153/0.00153, allocations: 71.91 kB / 433.1 MB, free: 5.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4138/0.4153, allocations: 56.46 MB / 489.5 MB, free: 20.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003632/0.419, allocations: 1.672 MB / 491.2 MB, free: 18.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.4207, allocations: 0.8152 MB / 492 MB, free: 18.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.687e-05/0.4208, allocations: 1.219 kB / 492 MB, free: 18.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000375/0.4212, allocations: 39.17 kB / 492 MB, free: 18.33 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.0002669/0.4215, allocations: 46.03 kB / 492.1 MB, free: 18.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.4218, allocations: 84.36 kB / 492.2 MB, free: 18.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.4221, allocations: 95.08 kB / 492.3 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.4222, allocations: 20.16 kB / 492.3 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.422e-05/0.4223, allocations: 37.33 kB / 492.3 MB, free: 18.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.798e-05/0.4224, allocations: 37.89 kB / 492.4 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.4224, allocations: 4.156 kB / 492.4 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.4226, allocations: 41.83 kB / 492.4 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.237e-05/0.4226, allocations: 18.42 kB / 492.4 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.42e-05/0.4227, allocations: 30.14 kB / 492.4 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.4229, allocations: 110.3 kB / 492.6 MB, free: 18.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.423, allocations: 0 / 492.6 MB, free: 18.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.423, allocations: 9.094 kB / 492.6 MB, free: 18.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.423, allocations: 0 / 492.6 MB, free: 18.08 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.0006005/0.4236, allocations: 413.3 kB / 493 MB, free: 17.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.4237, allocations: 13.17 kB / 493 MB, free: 17.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.556e-05/0.4237, allocations: 9.719 kB / 493 MB, free: 17.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.424, allocations: 202.8 kB / 493.2 MB, free: 17.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.4241, allocations: 5.812 kB / 493.2 MB, free: 17.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/0.4241, allocations: 11.56 kB / 493.2 MB, free: 17.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.4243, allocations: 57.2 kB / 493.3 MB, free: 17.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.4243, allocations: 9.234 kB / 493.3 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.4243, allocations: 0.9375 kB / 493.3 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.4244, allocations: 1.344 kB / 493.3 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.525e-05/0.4244, allocations: 21.33 kB / 493.3 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.4249, allocations: 287 kB / 493.6 MB, free: 17.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.4251, allocations: 59.72 kB / 493.6 MB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.728e-05/0.4252, allocations: 20.2 kB / 493.6 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.4252, allocations: 1.031 kB / 493.6 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.4254, allocations: 70.55 kB / 493.7 MB, free: 16.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.4254, allocations: 0 / 493.7 MB, free: 16.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006294/0.426, allocations: 172.6 kB / 493.9 MB, free: 16.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.4261, allocations: 56.44 kB / 493.9 MB, free: 16.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.4263, allocations: 188.8 kB / 494.1 MB, free: 16.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.4263, allocations: 27.05 kB / 494.2 MB, free: 16.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.4264, allocations: 103.3 kB / 494.3 MB, free: 16.58 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.4264, allocations: 21.94 kB / 494.3 MB, free: 16.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.997e-05/0.4265, allocations: 25.67 kB / 494.3 MB, free: 16.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.671e-05/0.4266, allocations: 326.4 kB / 494.6 MB, free: 16.22 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.121e-05/0.4266, allocations: 21.06 kB / 494.6 MB, free: 16.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.803e-05/0.4267, allocations: 39.75 kB / 494.7 MB, free: 16.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.4268, allocations: 58.48 kB / 494.7 MB, free: 16.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4268, allocations: 384 / 494.7 MB, free: 16.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001867/0.427, allocations: 97.33 kB / 494.8 MB, free: 16.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.427, allocations: 4.531 kB / 494.8 MB, free: 16.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4271, allocations: 1.031 kB / 494.8 MB, free: 16.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.4271, allocations: 5.797 kB / 494.8 MB, free: 16.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.4272, allocations: 23.41 kB / 494.9 MB, free: 16.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.4272, allocations: 1.156 kB / 494.9 MB, free: 16.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.002e-05/0.4273, allocations: 10.67 kB / 494.9 MB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.4273, allocations: 3.094 kB / 494.9 MB, free: 16.07 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.502e-05/0.4274, allocations: 127.1 kB / 495 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.4274, allocations: 9.078 kB / 495 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.453e-05/0.4275, allocations: 14.47 kB / 495 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4275, allocations: 1.719 kB / 495 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4275, allocations: 5.219 kB / 495 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.4275, allocations: 4.734 kB / 495 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004714/0.428, allocations: 389.5 kB / 495.4 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.428, allocations: 1.219 kB / 495.4 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.686e-05/0.428, allocations: 16.45 kB / 495.4 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.428, allocations: 1.25 kB / 495.4 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.4281, allocations: 6.359 kB / 495.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4281, allocations: 1.031 kB / 495.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4281, allocations: 5.281 kB / 495.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.4283, allocations: 208.3 kB / 495.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.546e-05/0.4283, allocations: 85.45 kB / 495.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.4284, allocations: 9.688 kB / 495.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.909e-05/0.4285, allocations: 7.328 kB / 495.8 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.913e-05/0.4285, allocations: 5.844 kB / 495.8 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.4286, allocations: 7.906 kB / 495.8 MB, free: 15.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001179/0.4287, allocations: 144.1 kB / 495.9 MB, free: 15.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4287, allocations: 0 / 495.9 MB, free: 15.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.429, allocations: 25.67 kB / 495.9 MB, free: 15.18 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.001167/0.4301, allocations: 472.9 kB / 496.4 MB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002451/0.4304, allocations: 52.47 kB / 496.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4304, allocations: 3.938 kB / 496.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.816e-05/0.4305, allocations: 28.7 kB / 496.5 MB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.4309, allocations: 39.28 kB / 496.5 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005315/0.4314, allocations: 225.1 kB / 496.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.4316, allocations: 0.7093 MB / 497.4 MB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.312e-05/0.4317, allocations: 20.64 kB / 497.5 MB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.329e-05/0.4317, allocations: 20.12 kB / 497.5 MB, free: 13.88 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4317, allocations: 1.031 kB / 497.5 MB, free: 13.88 MB / 382.1 MB Notification: Performance of Templates: time 0.005975/0.4377, allocations: 1.693 MB / 499.2 MB, free: 13.69 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1)