Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009103/0.009103, 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.001938/0.001938, allocations: 193.6 kB / 16.67 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.626/1.626, allocations: 205.1 MB / 222.6 MB, free: 4.488 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.3351/0.3351, allocations: 39.94 MB / 309.8 MB, free: 9.297 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.001458/0.001458, allocations: 67.91 kB / 435.8 MB, free: 2.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3235, allocations: 56.87 MB / 492.7 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002794/0.3263, allocations: 1.697 MB / 494.4 MB, free: 18.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.3276, allocations: 0.8049 MB / 495.2 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.395e-05/0.3277, allocations: 0 / 495.2 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.3281, allocations: 45.86 kB / 495.3 MB, free: 17.74 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.0002201/0.3283, allocations: 48.98 kB / 495.3 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.3286, allocations: 84.88 kB / 495.4 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.3288, allocations: 94.75 kB / 495.5 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.3289, allocations: 15.03 kB / 495.5 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.37e-05/0.329, allocations: 45.83 kB / 495.5 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.979e-05/0.329, allocations: 29.98 kB / 495.6 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.3291, allocations: 7.312 kB / 495.6 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.3292, allocations: 39.12 kB / 495.6 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.624e-05/0.3293, allocations: 16.2 kB / 495.6 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.276e-05/0.3293, allocations: 34.17 kB / 495.7 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.3295, allocations: 109.8 kB / 495.8 MB, free: 17.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3295, allocations: 0 / 495.8 MB, free: 17.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3296, allocations: 0 / 495.8 MB, free: 17.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.3296, allocations: 0 / 495.8 MB, free: 17.49 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.0004833/0.3301, allocations: 415.8 kB / 496.2 MB, free: 17.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.3301, allocations: 13.38 kB / 496.2 MB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.3301, allocations: 17.75 kB / 496.2 MB, free: 17.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.3304, allocations: 205.2 kB / 496.4 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.3304, allocations: 6.875 kB / 496.4 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.3304, allocations: 7.75 kB / 496.4 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.3306, allocations: 57.2 kB / 496.5 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3306, allocations: 0 / 496.5 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3306, allocations: 1.312 kB / 496.5 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3306, allocations: 1.469 kB / 496.5 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.062e-05/0.3307, allocations: 21.17 kB / 496.5 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002827/0.331, allocations: 286 kB / 496.8 MB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.3312, allocations: 55.45 kB / 496.8 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.501e-05/0.3312, allocations: 20.45 kB / 496.9 MB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.3313, allocations: 5.156 kB / 496.9 MB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001336/0.3314, allocations: 70.38 kB / 496.9 MB, free: 16.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.3314, allocations: 1.312 kB / 496.9 MB, free: 16.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004766/0.3319, allocations: 178.5 kB / 497.1 MB, free: 16.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.3319, allocations: 54.03 kB / 497.2 MB, free: 16.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.3321, allocations: 168.1 kB / 497.3 MB, free: 16.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.3321, allocations: 26.8 kB / 497.4 MB, free: 16.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.694e-05/0.3321, allocations: 103.7 kB / 497.5 MB, free: 15.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.3322, allocations: 25.98 kB / 497.5 MB, free: 15.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.3322, allocations: 25.22 kB / 497.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.806e-05/0.3323, allocations: 326.3 kB / 497.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.93e-05/0.3324, allocations: 21.17 kB / 497.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.417e-05/0.3324, allocations: 35.58 kB / 497.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.3325, allocations: 65.95 kB / 497.9 MB, free: 15.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.3325, allocations: 0 / 497.9 MB, free: 15.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001758/0.3327, allocations: 100.3 kB / 498 MB, free: 15.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3328, allocations: 5.828 kB / 498 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3328, allocations: 1.375 kB / 498 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3328, allocations: 1.188 kB / 498 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.284e-05/0.3329, allocations: 19.12 kB / 498.1 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.3329, allocations: 4.828 kB / 498.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.585e-05/0.333, allocations: 7.719 kB / 498.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.333, allocations: 6.906 kB / 498.1 MB, free: 15.48 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.101e-05/0.3331, allocations: 127.6 kB / 498.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.3331, allocations: 17.42 kB / 498.2 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.076e-05/0.3331, allocations: 14.38 kB / 498.2 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3332, allocations: 1.344 kB / 498.2 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.3332, allocations: 0 / 498.2 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3332, allocations: 9.828 kB / 498.3 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000402/0.3336, allocations: 379.8 kB / 498.6 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3336, allocations: 1.062 kB / 498.6 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.461e-05/0.3336, allocations: 11.97 kB / 498.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3336, allocations: 1.562 kB / 498.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.3337, allocations: 11.8 kB / 498.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3337, allocations: 0 / 498.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3337, allocations: 1.219 kB / 498.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.3339, allocations: 200.3 kB / 498.8 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.706e-05/0.3339, allocations: 84.58 kB / 498.9 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.3339, allocations: 11.69 kB / 498.9 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.206e-05/0.334, allocations: 2.094 kB / 498.9 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.3341, allocations: 9.281 kB / 498.9 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.3341, allocations: 4.781 kB / 499 MB, free: 14.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.627e-05/0.3342, allocations: 133.2 kB / 499.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.52e-07/0.3342, allocations: 0 / 499.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.3345, allocations: 29.66 kB / 499.1 MB, free: 14.6 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.0009977/0.3355, allocations: 465.6 kB / 499.6 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.3357, allocations: 60.48 kB / 499.6 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3357, allocations: 4.062 kB / 499.6 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.873e-05/0.3358, allocations: 28.56 kB / 499.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.3361, allocations: 34.72 kB / 499.7 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003812/0.3365, allocations: 220.1 kB / 499.9 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.3367, allocations: 0.6989 MB / 0.4889 GB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.07e-05/0.3367, allocations: 20.09 kB / 0.4889 GB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.3368, allocations: 20.72 kB / 0.4889 GB, free: 13.3 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3368, allocations: 1.375 kB / 0.4889 GB, free: 13.3 MB / 382.1 MB Notification: Performance of Templates: time 0.004788/0.3416, allocations: 1.688 MB / 0.4906 GB, free: 13.11 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1)