Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008566/0.008566, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001282, allocations: 186.8 kB / 16.67 MB, free: 5.977 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.647/1.647, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.3811/0.3811, allocations: 39.95 MB / 309.8 MB, free: 9.246 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.00199/0.00199, allocations: 75.89 kB / 435.8 MB, free: 2.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4135, allocations: 56.87 MB / 492.7 MB, free: 19.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003412/0.417, allocations: 1.688 MB / 494.4 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.4186, allocations: 0.803 MB / 495.2 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.121e-05/0.4187, allocations: 1.094 kB / 495.2 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004108/0.4191, allocations: 83.17 kB / 495.3 MB, free: 17.67 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.0002839/0.4194, allocations: 73.33 kB / 495.4 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.4197, allocations: 84.98 kB / 495.5 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.4199, allocations: 114.5 kB / 495.6 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.42, allocations: 11.44 kB / 495.6 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.4201, allocations: 54.02 kB / 495.6 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.4202, allocations: 55.53 kB / 495.7 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.4202, allocations: 2.75 kB / 495.7 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.4204, allocations: 46.39 kB / 495.7 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.384e-05/0.4204, allocations: 28.64 kB / 495.8 MB, free: 17.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.586e-05/0.4205, allocations: 34 kB / 495.8 MB, free: 17.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.4207, allocations: 122.9 kB / 495.9 MB, free: 17.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.4207, allocations: 0 / 495.9 MB, free: 17.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4208, allocations: 3.938 kB / 495.9 MB, free: 17.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.4208, allocations: 0 / 495.9 MB, free: 17.39 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.0004881/0.4213, allocations: 421.1 kB / 496.3 MB, free: 16.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.4213, allocations: 13.08 kB / 496.3 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.706e-05/0.4214, allocations: 14.06 kB / 496.4 MB, free: 16.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.4216, allocations: 211.7 kB / 496.6 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.4216, allocations: 7.266 kB / 496.6 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.4217, allocations: 10.11 kB / 496.6 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.4218, allocations: 54.09 kB / 496.6 MB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.4218, allocations: 1.562 kB / 496.6 MB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.4219, allocations: 3.938 kB / 496.6 MB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.4219, allocations: 0 / 496.6 MB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.978e-05/0.422, allocations: 19.39 kB / 496.7 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003586/0.4223, allocations: 288.2 kB / 496.9 MB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.4225, allocations: 64.23 kB / 497 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.005e-05/0.4226, allocations: 28.62 kB / 497 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.4226, allocations: 1.5 kB / 497 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.4228, allocations: 65.06 kB / 497.1 MB, free: 16.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.4228, allocations: 0 / 497.1 MB, free: 16.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006242/0.4234, allocations: 181.6 kB / 497.3 MB, free: 16.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.4234, allocations: 53.12 kB / 497.3 MB, free: 16.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.4237, allocations: 214.2 kB / 497.5 MB, free: 16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.4237, allocations: 26.95 kB / 497.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/0.4237, allocations: 106 kB / 497.7 MB, free: 15.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.4238, allocations: 25.56 kB / 497.7 MB, free: 15.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.4238, allocations: 21.77 kB / 497.7 MB, free: 15.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.559e-05/0.4239, allocations: 335.6 kB / 498 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.682e-05/0.424, allocations: 16.34 kB / 498 MB, free: 15.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-05/0.4241, allocations: 35.05 kB / 498.1 MB, free: 15.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.4242, allocations: 62.8 kB / 498.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4242, allocations: 0 / 498.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002242/0.4244, allocations: 101.4 kB / 498.2 MB, free: 15.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.4245, allocations: 10.12 kB / 498.3 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.4245, allocations: 1.312 kB / 498.3 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.4245, allocations: 3.938 kB / 498.3 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.4246, allocations: 19.94 kB / 498.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.4246, allocations: 5.938 kB / 498.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/0.4247, allocations: 6.141 kB / 498.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.4247, allocations: 2.625 kB / 498.3 MB, free: 15.36 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.84e-05/0.4248, allocations: 129.5 kB / 498.4 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.4248, allocations: 9.422 kB / 498.4 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.006e-05/0.4249, allocations: 20.59 kB / 498.4 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.4249, allocations: 6.156 kB / 498.5 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4249, allocations: 0 / 498.5 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.4249, allocations: 3.938 kB / 498.5 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004213/0.4253, allocations: 397.4 kB / 498.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.4253, allocations: 3.938 kB / 498.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.348e-05/0.4254, allocations: 8.75 kB / 498.9 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.4254, allocations: 2.016 kB / 498.9 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.4254, allocations: 14.02 kB / 498.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4254, allocations: 1.312 kB / 498.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4254, allocations: 1.219 kB / 498.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.4257, allocations: 204.6 kB / 499.1 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.514e-05/0.4257, allocations: 89.48 kB / 499.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.4257, allocations: 5.906 kB / 499.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.002e-05/0.4258, allocations: 11.44 kB / 499.2 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.4259, allocations: 9.953 kB / 499.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.4259, allocations: 4.797 kB / 499.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.426, allocations: 156.6 kB / 499.3 MB, free: 14.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.426, allocations: 0 / 499.3 MB, free: 14.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.4263, allocations: 21.27 kB / 499.4 MB, free: 14.46 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.001122/0.4274, allocations: 472.3 kB / 499.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.4277, allocations: 63.23 kB / 499.9 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4277, allocations: 0 / 499.9 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.626e-05/0.4278, allocations: 28.89 kB / 499.9 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.4282, allocations: 34.33 kB / 500 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005676/0.4287, allocations: 244.4 kB / 0.4885 GB, free: 13.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.429, allocations: 0.7089 MB / 0.4892 GB, free: 13.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.591e-05/0.4291, allocations: 16.38 kB / 0.4892 GB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.4291, allocations: 20.94 kB / 0.4892 GB, free: 13.15 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4291, allocations: 0 / 0.4892 GB, free: 13.15 MB / 382.1 MB Notification: Performance of Templates: time 0.00592/0.4351, allocations: 1.733 MB / 0.4909 GB, free: 12.95 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1)