Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005175/0.005175, allocations: 101.4 kB / 15.73 MB, free: 6.043 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.001096/0.001096, allocations: 190 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.634/1.634, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.3737/0.3737, allocations: 37.99 MB / 307.9 MB, free: 10.03 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.001538/0.001538, allocations: 83.89 kB / 433.1 MB, free: 5.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.4065, allocations: 56.46 MB / 489.5 MB, free: 19.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003929/0.4105, allocations: 1.664 MB / 491.2 MB, free: 18.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.4122, allocations: 0.8187 MB / 492 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.824e-05/0.4123, allocations: 0 / 492 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000378/0.4127, allocations: 54.77 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.0002565/0.413, allocations: 54.44 kB / 492.1 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.4132, allocations: 92.3 kB / 492.2 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.4135, allocations: 91.67 kB / 492.3 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.4136, allocations: 19.47 kB / 492.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.463e-05/0.4137, allocations: 37.67 kB / 492.3 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.4138, allocations: 33.62 kB / 492.4 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.4138, allocations: 7.781 kB / 492.4 MB, free: 18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.414, allocations: 42.05 kB / 492.4 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.389e-05/0.4141, allocations: 27.59 kB / 492.4 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.356e-05/0.4142, allocations: 43.34 kB / 492.5 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003179/0.4145, allocations: 133.3 kB / 492.6 MB, free: 17.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4145, allocations: 0 / 492.6 MB, free: 17.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4145, allocations: 0 / 492.6 MB, free: 17.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.4145, allocations: 0 / 492.6 MB, free: 17.89 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.0006985/0.4152, allocations: 434.3 kB / 493 MB, free: 17.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.4153, allocations: 18.02 kB / 493.1 MB, free: 17.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.387e-05/0.4154, allocations: 14.91 kB / 493.1 MB, free: 17.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.4157, allocations: 226.8 kB / 493.3 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.4157, allocations: 2.031 kB / 493.3 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.4157, allocations: 10.28 kB / 493.3 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.4159, allocations: 54.53 kB / 493.4 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.416, allocations: 0 / 493.4 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.416, allocations: 1.609 kB / 493.4 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.416, allocations: 0 / 493.4 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.425e-05/0.4161, allocations: 27.14 kB / 493.4 MB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004741/0.4166, allocations: 292.2 kB / 493.7 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.4169, allocations: 61.31 kB / 493.7 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.889e-05/0.417, allocations: 18.81 kB / 493.8 MB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.417, allocations: 1.797 kB / 493.8 MB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002201/0.4172, allocations: 70.14 kB / 493.8 MB, free: 16.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.4172, allocations: 0 / 493.8 MB, free: 16.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007746/0.418, allocations: 179 kB / 494 MB, free: 16.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.4181, allocations: 53.23 kB / 494.1 MB, free: 16.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003712/0.4185, allocations: 262.2 kB / 494.3 MB, free: 16.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.4185, allocations: 26.86 kB / 494.3 MB, free: 16.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.471e-05/0.4186, allocations: 124.3 kB / 494.5 MB, free: 16.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.4186, allocations: 20.67 kB / 494.5 MB, free: 16.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.4187, allocations: 22.09 kB / 494.5 MB, free: 16.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.4188, allocations: 333.1 kB / 494.8 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.798e-05/0.4189, allocations: 25.41 kB / 494.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.411e-05/0.419, allocations: 35.45 kB / 494.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.4191, allocations: 57.92 kB / 494.9 MB, free: 15.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4192, allocations: 0 / 494.9 MB, free: 15.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002324/0.4194, allocations: 106.9 kB / 495 MB, free: 15.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.4194, allocations: 5.453 kB / 495 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4194, allocations: 5.031 kB / 495.1 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.4195, allocations: 1.188 kB / 495.1 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.4196, allocations: 16.08 kB / 495.1 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.4196, allocations: 1.438 kB / 495.1 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.019e-05/0.4197, allocations: 6.375 kB / 495.1 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.4197, allocations: 11 kB / 495.1 MB, free: 15.82 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 0.0001497/0.4198, allocations: 137.1 kB / 495.2 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.4199, allocations: 15.81 kB / 495.2 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.548e-05/0.4199, allocations: 22.7 kB / 495.3 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.42, allocations: 1.188 kB / 495.3 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.42, allocations: 0 / 495.3 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.42, allocations: 4.547 kB / 495.3 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004727/0.4205, allocations: 401.8 kB / 495.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4205, allocations: 1.688 kB / 495.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.809e-05/0.4205, allocations: 12.94 kB / 495.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.4205, allocations: 1.312 kB / 495.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.4205, allocations: 5.594 kB / 495.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4205, allocations: 5.266 kB / 495.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.4206, allocations: 1.672 kB / 495.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.4208, allocations: 218.3 kB / 495.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.4209, allocations: 89.44 kB / 496 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.4209, allocations: 10.7 kB / 496 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.279e-05/0.421, allocations: 2.969 kB / 496 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.421, allocations: 4.875 kB / 496 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.4211, allocations: 4.531 kB / 496 MB, free: 15.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000207/0.4213, allocations: 195.5 kB / 496.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4213, allocations: 0 / 496.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002888/0.4216, allocations: 22.77 kB / 496.2 MB, free: 14.91 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.001104/0.4227, allocations: 472.9 kB / 496.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002127/0.4229, allocations: 68.06 kB / 496.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4229, allocations: 1.062 kB / 496.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.983e-05/0.423, allocations: 32.56 kB / 496.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.4234, allocations: 30.23 kB / 496.8 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007342/0.4241, allocations: 280.4 kB / 497.1 MB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.4244, allocations: 0.7171 MB / 497.8 MB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.225e-05/0.4245, allocations: 20.36 kB / 497.8 MB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.4245, allocations: 15.62 kB / 497.8 MB, free: 13.59 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4245, allocations: 1.344 kB / 497.8 MB, free: 13.59 MB / 382.1 MB Notification: Performance of Templates: time 0.006272/0.4308, allocations: 1.738 MB / 499.6 MB, free: 13.38 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1)