Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008365/0.008365, allocations: 100.6 kB / 15.73 MB, free: 6.469 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.001446/0.001446, allocations: 193.5 kB / 16.67 MB, free: 6.379 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.69/1.69, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.3382/0.3382, allocations: 38 MB / 307.9 MB, free: 9.977 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.001479/0.001479, allocations: 75.89 kB / 433.1 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3121, allocations: 56.47 MB / 489.5 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003857/0.316, allocations: 1.666 MB / 491.2 MB, free: 18.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.3177, allocations: 0.8076 MB / 492 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.3179, allocations: 0 / 492 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003157/0.3182, allocations: 43.03 kB / 492 MB, free: 18.27 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.0002297/0.3185, allocations: 50.05 kB / 492.1 MB, free: 18.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.3187, allocations: 85.11 kB / 492.2 MB, free: 18.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.3189, allocations: 94.89 kB / 492.3 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.651e-05/0.319, allocations: 15.53 kB / 492.3 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.205e-05/0.3191, allocations: 45.94 kB / 492.3 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.019e-05/0.3192, allocations: 26.84 kB / 492.3 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.3192, allocations: 3.344 kB / 492.4 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.3193, allocations: 41.62 kB / 492.4 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.865e-05/0.3194, allocations: 22.17 kB / 492.4 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.874e-05/0.3195, allocations: 33.58 kB / 492.4 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.3197, allocations: 115.4 kB / 492.6 MB, free: 18.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3197, allocations: 1.062 kB / 492.6 MB, free: 18.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3197, allocations: 7.938 kB / 492.6 MB, free: 18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.3197, allocations: 0 / 492.6 MB, free: 18 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.0005123/0.3202, allocations: 405.8 kB / 493 MB, free: 17.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.3203, allocations: 13.59 kB / 493 MB, free: 17.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.75e-05/0.3203, allocations: 17.38 kB / 493 MB, free: 17.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.3207, allocations: 199 kB / 493.2 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.3207, allocations: 2.688 kB / 493.2 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.4e-05/0.3208, allocations: 9.25 kB / 493.2 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.321, allocations: 62.56 kB / 493.3 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.321, allocations: 0 / 493.3 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.321, allocations: 5.031 kB / 493.3 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.321, allocations: 2.172 kB / 493.3 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.3211, allocations: 20.89 kB / 493.3 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/0.3216, allocations: 290.6 kB / 493.6 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.3218, allocations: 60.16 kB / 493.6 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.597e-05/0.3218, allocations: 19.81 kB / 493.7 MB, free: 16.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.3219, allocations: 1.094 kB / 493.7 MB, free: 16.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.3221, allocations: 66.84 kB / 493.7 MB, free: 16.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.3221, allocations: 0 / 493.7 MB, free: 16.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006124/0.3227, allocations: 171.9 kB / 493.9 MB, free: 16.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.3228, allocations: 57.19 kB / 493.9 MB, free: 16.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.3229, allocations: 189.4 kB / 494.1 MB, free: 16.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.323, allocations: 25.7 kB / 494.2 MB, free: 16.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.323, allocations: 99.42 kB / 494.2 MB, free: 16.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.323, allocations: 26.33 kB / 494.3 MB, free: 16.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.3231, allocations: 22.91 kB / 494.3 MB, free: 16.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.077e-05/0.3231, allocations: 329.6 kB / 494.6 MB, free: 16.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.789e-05/0.3232, allocations: 21.52 kB / 494.6 MB, free: 16.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.156e-05/0.3233, allocations: 39.98 kB / 494.7 MB, free: 16.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.3234, allocations: 61.14 kB / 494.7 MB, free: 16.08 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3234, allocations: 0 / 494.7 MB, free: 16.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001749/0.3236, allocations: 97.47 kB / 494.8 MB, free: 16.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3236, allocations: 5.375 kB / 494.8 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3236, allocations: 1.094 kB / 494.8 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3236, allocations: 5.188 kB / 494.8 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.403e-05/0.3237, allocations: 19.3 kB / 494.9 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3237, allocations: 1.375 kB / 494.9 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.44e-05/0.3238, allocations: 11.06 kB / 494.9 MB, free: 16.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-06/0.3238, allocations: 3.938 kB / 494.9 MB, free: 16.01 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 7.902e-05/0.3239, allocations: 129 kB / 495 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.3239, allocations: 9.688 kB / 495 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.547e-05/0.324, allocations: 21.73 kB / 495 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.324, allocations: 5.094 kB / 495 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.324, allocations: 1.938 kB / 495 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.324, allocations: 3.938 kB / 495 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000402/0.3244, allocations: 386 kB / 495.4 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3244, allocations: 0.7969 kB / 495.4 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.548e-05/0.3245, allocations: 12.89 kB / 495.4 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.3245, allocations: 4.969 kB / 495.4 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.3245, allocations: 7.078 kB / 495.4 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3245, allocations: 0 / 495.4 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3245, allocations: 5.734 kB / 495.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.3247, allocations: 205 kB / 495.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-05/0.3248, allocations: 83.98 kB / 495.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.3248, allocations: 11.56 kB / 495.7 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-05/0.3249, allocations: 2.172 kB / 495.7 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.3249, allocations: 5.578 kB / 495.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-05/0.3249, allocations: 11.75 kB / 495.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001423/0.3251, allocations: 144.9 kB / 495.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3251, allocations: 0 / 495.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.3254, allocations: 26.42 kB / 495.9 MB, free: 15.11 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.001066/0.3264, allocations: 466.5 kB / 496.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002057/0.3267, allocations: 61.2 kB / 496.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3267, allocations: 0 / 496.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.609e-05/0.3268, allocations: 27.59 kB / 496.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.3271, allocations: 38.94 kB / 496.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004767/0.3276, allocations: 226.5 kB / 496.7 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.3278, allocations: 0.7008 MB / 497.4 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.673e-05/0.3278, allocations: 25.28 kB / 497.5 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.3279, allocations: 19.98 kB / 497.5 MB, free: 13.81 MB / 382.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3279, allocations: 3.938 kB / 497.5 MB, free: 13.81 MB / 382.1 MB Notification: Performance of Templates: time 0.00515/0.333, allocations: 1.722 MB / 499.2 MB, free: 13.61 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1)