Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.01021/0.01021, allocations: 99.89 kB / 15.73 MB, free: 6.016 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.002052/0.002052, allocations: 187.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.542/1.542, allocations: 205.1 MB / 222.6 MB, free: 4.484 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.3088/0.3088, allocations: 38 MB / 307.9 MB, free: 10.09 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.001641/0.001641, allocations: 71.91 kB / 433.1 MB, free: 5.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.324, allocations: 56.46 MB / 489.5 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003153/0.3272, allocations: 1.672 MB / 491.2 MB, free: 18.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.3285, allocations: 0.7986 MB / 492 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.3287, allocations: 5.156 kB / 492 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003295/0.329, allocations: 37.58 kB / 492 MB, free: 18.15 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.0002663/0.3293, allocations: 52.2 kB / 492.1 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.3296, allocations: 84.38 kB / 492.2 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.3298, allocations: 95.36 kB / 492.3 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.33, allocations: 16.11 kB / 492.3 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.881e-05/0.3301, allocations: 44.72 kB / 492.3 MB, free: 18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.627e-05/0.3302, allocations: 26.81 kB / 492.3 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.3302, allocations: 3.875 kB / 492.3 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.3303, allocations: 42.41 kB / 492.4 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.042e-05/0.3304, allocations: 24.61 kB / 492.4 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.102e-05/0.3304, allocations: 28.94 kB / 492.4 MB, free: 17.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.3307, allocations: 115.7 kB / 492.6 MB, free: 17.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3307, allocations: 4 kB / 492.6 MB, free: 17.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.3307, allocations: 9 kB / 492.6 MB, free: 17.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.3307, allocations: 0 / 492.6 MB, free: 17.88 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.0005/0.3312, allocations: 405.2 kB / 493 MB, free: 17.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.3313, allocations: 13.05 kB / 493 MB, free: 17.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.3313, allocations: 10.27 kB / 493 MB, free: 17.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.3316, allocations: 216.5 kB / 493.2 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.3316, allocations: 3.641 kB / 493.2 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.3317, allocations: 6.781 kB / 493.2 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.3318, allocations: 57.92 kB / 493.3 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3318, allocations: 0 / 493.3 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.3319, allocations: 0 / 493.3 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.3319, allocations: 1.875 kB / 493.3 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.642e-05/0.3319, allocations: 18.48 kB / 493.3 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.3323, allocations: 288.9 kB / 493.6 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.3325, allocations: 63.88 kB / 493.6 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.181e-05/0.3325, allocations: 21.39 kB / 493.7 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.3326, allocations: 1.094 kB / 493.7 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/0.3327, allocations: 65.64 kB / 493.7 MB, free: 16.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.3327, allocations: 0 / 493.7 MB, free: 16.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005918/0.3333, allocations: 172 kB / 493.9 MB, free: 16.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.3334, allocations: 57.55 kB / 493.9 MB, free: 16.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.3336, allocations: 168.8 kB / 494.1 MB, free: 16.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.3336, allocations: 30.95 kB / 494.1 MB, free: 16.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.3336, allocations: 98.45 kB / 494.2 MB, free: 16.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.3337, allocations: 22.81 kB / 494.3 MB, free: 16.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.3337, allocations: 30.53 kB / 494.3 MB, free: 16.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.092e-05/0.3338, allocations: 325 kB / 494.6 MB, free: 16.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.026e-05/0.3339, allocations: 25.19 kB / 494.6 MB, free: 16.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.141e-05/0.3339, allocations: 35.61 kB / 494.7 MB, free: 16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.334, allocations: 52.97 kB / 494.7 MB, free: 15.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3341, allocations: 2.031 kB / 494.7 MB, free: 15.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001855/0.3342, allocations: 111.5 kB / 494.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3343, allocations: 6.062 kB / 494.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.3343, allocations: 9.109 kB / 494.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3343, allocations: 1.125 kB / 494.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.296e-05/0.3344, allocations: 15.44 kB / 494.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.3344, allocations: 5.719 kB / 494.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.986e-05/0.3345, allocations: 6.391 kB / 494.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.3345, allocations: 6.594 kB / 494.9 MB, free: 15.88 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.26e-05/0.3346, allocations: 124.9 kB / 495 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.3346, allocations: 13.42 kB / 495 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.984e-05/0.3347, allocations: 14.39 kB / 495 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.3347, allocations: 5.312 kB / 495 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.3347, allocations: 1.031 kB / 495 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.3347, allocations: 3.938 kB / 495 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004082/0.3351, allocations: 389.2 kB / 495.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3351, allocations: 0 / 495.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.409e-05/0.3352, allocations: 8.656 kB / 495.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.3352, allocations: 1.094 kB / 495.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.3352, allocations: 5.922 kB / 495.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3352, allocations: 6.391 kB / 495.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3352, allocations: 0.8438 kB / 495.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.3354, allocations: 205.1 kB / 495.6 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.369e-05/0.3355, allocations: 83.81 kB / 495.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.3355, allocations: 7.125 kB / 495.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.847e-05/0.3356, allocations: 1.922 kB / 495.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.3356, allocations: 13.41 kB / 495.7 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.3356, allocations: 5.656 kB / 495.7 MB, free: 15.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.761e-05/0.3357, allocations: 128.1 kB / 495.9 MB, free: 15.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3358, allocations: 0 / 495.9 MB, free: 15.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.336, allocations: 26.14 kB / 495.9 MB, free: 15 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.0009993/0.337, allocations: 474.8 kB / 496.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.3372, allocations: 55.17 kB / 496.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3372, allocations: 1.156 kB / 496.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.548e-05/0.3373, allocations: 37.06 kB / 496.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.3377, allocations: 30.58 kB / 496.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004295/0.3381, allocations: 211.9 kB / 496.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.3383, allocations: 0.7028 MB / 497.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.448e-05/0.3383, allocations: 16.56 kB / 497.4 MB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.3384, allocations: 16.38 kB / 497.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3384, allocations: 1.094 kB / 497.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of Templates: time 0.005255/0.3437, allocations: 1.693 MB / 499.1 MB, free: 13.52 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1)