Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 108.6 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 189.9 kB / 16.66 MB, free: 6.59 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.619/1.619, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.3485/0.3485, allocations: 38 MB / 307.9 MB, free: 9.949 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.00141/0.00141, allocations: 67.91 kB / 433 MB, free: 5.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.328, allocations: 56.47 MB / 489.5 MB, free: 19.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002788/0.3308, allocations: 1.667 MB / 491.2 MB, free: 18.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.3322, allocations: 0.803 MB / 492 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.791e-05/0.3323, allocations: 0 / 492 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003479/0.3327, allocations: 43.94 kB / 492 MB, free: 18.2 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.0002527/0.3329, allocations: 52.89 kB / 492.1 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.3332, allocations: 84.84 kB / 492.2 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.3334, allocations: 96.25 kB / 492.3 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.3336, allocations: 10.95 kB / 492.3 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.157e-05/0.3336, allocations: 45.81 kB / 492.3 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.38e-05/0.3337, allocations: 25.86 kB / 492.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.3338, allocations: 3.219 kB / 492.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.3339, allocations: 47.12 kB / 492.4 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.138e-05/0.334, allocations: 21.14 kB / 492.4 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.704e-05/0.334, allocations: 37.59 kB / 492.4 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.3343, allocations: 113.2 kB / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.3343, allocations: 0 / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3343, allocations: 4.969 kB / 492.6 MB, free: 17.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.3343, allocations: 0 / 492.6 MB, free: 17.94 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.0005605/0.3349, allocations: 410.3 kB / 493 MB, free: 17.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.3349, allocations: 13.89 kB / 493 MB, free: 17.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.335, allocations: 18.05 kB / 493 MB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.3352, allocations: 206.3 kB / 493.2 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.3353, allocations: 1.406 kB / 493.2 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.3353, allocations: 7.609 kB / 493.2 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.3355, allocations: 57.56 kB / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.3355, allocations: 1.188 kB / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.3355, allocations: 0 / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.3355, allocations: 1.062 kB / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.3356, allocations: 18.81 kB / 493.3 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003632/0.336, allocations: 289.8 kB / 493.6 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.3362, allocations: 60.73 kB / 493.6 MB, free: 16.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.474e-05/0.3362, allocations: 19.41 kB / 493.6 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.3363, allocations: 1.125 kB / 493.6 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.3364, allocations: 74.56 kB / 493.7 MB, free: 16.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.3364, allocations: 0 / 493.7 MB, free: 16.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000635/0.3371, allocations: 172.1 kB / 493.9 MB, free: 16.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.3371, allocations: 57.66 kB / 493.9 MB, free: 16.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.3374, allocations: 184.1 kB / 494.1 MB, free: 16.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.3374, allocations: 32.02 kB / 494.1 MB, free: 16.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.159e-05/0.3374, allocations: 100.4 kB / 494.2 MB, free: 16.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.3375, allocations: 28.66 kB / 494.3 MB, free: 16.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.3375, allocations: 22.06 kB / 494.3 MB, free: 16.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.706e-05/0.3376, allocations: 326.4 kB / 494.6 MB, free: 16.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.354e-05/0.3377, allocations: 21.55 kB / 494.6 MB, free: 16.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.568e-05/0.3378, allocations: 39.27 kB / 494.7 MB, free: 16.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.3379, allocations: 61.69 kB / 494.7 MB, free: 16.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3379, allocations: 4.375 kB / 494.7 MB, free: 16 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001904/0.3381, allocations: 102.2 kB / 494.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.3381, allocations: 5.25 kB / 494.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3382, allocations: 0.6094 kB / 494.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3382, allocations: 5.281 kB / 494.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.722e-05/0.3383, allocations: 14.89 kB / 494.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3383, allocations: 1.656 kB / 494.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.766e-05/0.3383, allocations: 11.22 kB / 494.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.3384, allocations: 3.078 kB / 494.9 MB, free: 15.93 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.394e-05/0.3385, allocations: 128.6 kB / 495 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.3385, allocations: 9.422 kB / 495 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.398e-05/0.3385, allocations: 15.36 kB / 495 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3385, allocations: 1.25 kB / 495 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3385, allocations: 0 / 495 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.954e-06/0.3386, allocations: 5.859 kB / 495 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.339, allocations: 392.8 kB / 495.4 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.339, allocations: 5.188 kB / 495.4 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.679e-05/0.339, allocations: 8.281 kB / 495.4 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3391, allocations: 1.812 kB / 495.4 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.3391, allocations: 9.766 kB / 495.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3391, allocations: 1.828 kB / 495.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3391, allocations: 1.344 kB / 495.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.3393, allocations: 200.6 kB / 495.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.034e-05/0.3393, allocations: 85 kB / 495.7 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.3394, allocations: 18.98 kB / 495.7 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.725e-05/0.3394, allocations: 6.844 kB / 495.7 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.3395, allocations: 4.703 kB / 495.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.3395, allocations: 4.406 kB / 495.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.3396, allocations: 147.6 kB / 495.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3396, allocations: 1.406 kB / 495.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.3399, allocations: 21.08 kB / 495.9 MB, free: 15.05 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.001025/0.3409, allocations: 476.5 kB / 496.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000189/0.3411, allocations: 60.58 kB / 496.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3411, allocations: 4.062 kB / 496.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.128e-05/0.3412, allocations: 28.78 kB / 496.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.3416, allocations: 34.23 kB / 496.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/0.342, allocations: 230.9 kB / 496.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.3421, allocations: 0.7008 MB / 497.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.932e-05/0.3422, allocations: 25.27 kB / 497.5 MB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.598e-05/0.3422, allocations: 17.22 kB / 497.5 MB, free: 13.73 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.3422, allocations: 0 / 497.5 MB, free: 13.73 MB / 382.1 MB Notification: Performance of Templates: time 0.005433/0.3477, allocations: 1.699 MB / 499.2 MB, free: 13.54 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1)