Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007632/0.007632, allocations: 108.6 kB / 15.74 MB, free: 6.051 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.00172/0.00172, allocations: 194.4 kB / 16.68 MB, free: 5.98 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.681/1.681, allocations: 205.1 MB / 222.5 MB, free: 4.402 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.309/0.309, allocations: 38 MB / 307.9 MB, free: 10.37 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.00147/0.00147, allocations: 71.91 kB / 433.1 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3128, allocations: 56.46 MB / 489.5 MB, free: 20.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002904/0.3157, allocations: 1.678 MB / 491.2 MB, free: 18.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00214/0.3179, allocations: 1.414 MB / 492.6 MB, free: 17.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.898e-05/0.318, allocations: 3.938 kB / 492.6 MB, free: 17.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003702/0.3184, allocations: 32.28 kB / 492.6 MB, free: 17.81 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.0002904/0.3187, allocations: 58.42 kB / 492.7 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.319, allocations: 85.14 kB / 492.8 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.3192, allocations: 92.36 kB / 492.9 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.3193, allocations: 22.44 kB / 492.9 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.3194, allocations: 43.8 kB / 492.9 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.3196, allocations: 43.27 kB / 493 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.3196, allocations: 4.562 kB / 493 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.3198, allocations: 57.98 kB / 493 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.195e-05/0.3198, allocations: 20.17 kB / 493.1 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.176e-05/0.3199, allocations: 29.83 kB / 493.1 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.3202, allocations: 120.2 kB / 493.2 MB, free: 17.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.3202, allocations: 1.469 kB / 493.2 MB, free: 17.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3202, allocations: 4 kB / 493.2 MB, free: 17.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3202, allocations: 0 / 493.2 MB, free: 17.54 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.0005483/0.3208, allocations: 407.5 kB / 493.6 MB, free: 17.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3208, allocations: 12.8 kB / 493.6 MB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.994e-05/0.3209, allocations: 9.438 kB / 493.6 MB, free: 17.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.3212, allocations: 205.5 kB / 493.8 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.3212, allocations: 1.594 kB / 493.8 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.3212, allocations: 10.25 kB / 493.8 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.3214, allocations: 71.16 kB / 493.9 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3214, allocations: 4.5 kB / 493.9 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.3214, allocations: 0.9375 kB / 493.9 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.3214, allocations: 5.203 kB / 493.9 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.066e-05/0.3215, allocations: 17.94 kB / 493.9 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.3219, allocations: 284.7 kB / 494.2 MB, free: 16.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.3221, allocations: 60.38 kB / 494.3 MB, free: 16.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.924e-05/0.3221, allocations: 22.88 kB / 494.3 MB, free: 16.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.3222, allocations: 1.891 kB / 494.3 MB, free: 16.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.3223, allocations: 69.55 kB / 494.4 MB, free: 16.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.3223, allocations: 5.438 kB / 494.4 MB, free: 16.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005462/0.3229, allocations: 167.2 kB / 494.5 MB, free: 16.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.323, allocations: 82.39 kB / 494.6 MB, free: 16.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.3231, allocations: 158.8 kB / 494.8 MB, free: 16.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.3231, allocations: 30.95 kB / 494.8 MB, free: 16.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.658e-05/0.3232, allocations: 94.95 kB / 494.9 MB, free: 16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.3232, allocations: 22.66 kB / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.881e-05/0.3233, allocations: 22.44 kB / 494.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.194e-05/0.3233, allocations: 327.2 kB / 495.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.697e-05/0.3234, allocations: 22.39 kB / 495.3 MB, free: 15.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.626e-05/0.3235, allocations: 44.52 kB / 495.3 MB, free: 15.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.3236, allocations: 62.72 kB / 495.4 MB, free: 15.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.3236, allocations: 0 / 495.4 MB, free: 15.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001787/0.3238, allocations: 96.84 kB / 495.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3238, allocations: 11.38 kB / 495.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.3238, allocations: 4.562 kB / 495.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.3238, allocations: 1.844 kB / 495.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.433e-05/0.3239, allocations: 14.27 kB / 495.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.3239, allocations: 2.078 kB / 495.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.822e-05/0.324, allocations: 9.984 kB / 495.5 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.324, allocations: 3.75 kB / 495.5 MB, free: 15.49 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.794e-05/0.3241, allocations: 118 kB / 495.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.3241, allocations: 12 kB / 495.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/0.3242, allocations: 17.3 kB / 495.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.3242, allocations: 1.578 kB / 495.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3242, allocations: 1.219 kB / 495.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3242, allocations: 4.734 kB / 495.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004096/0.3246, allocations: 391.2 kB / 496.1 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.3246, allocations: 1.75 kB / 496.1 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.231e-05/0.3247, allocations: 8.828 kB / 496.1 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.3247, allocations: 1.953 kB / 496.1 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.3247, allocations: 9.828 kB / 496.1 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3247, allocations: 1.062 kB / 496.1 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3247, allocations: 0 / 496.1 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.3249, allocations: 196.9 kB / 496.3 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.764e-05/0.325, allocations: 88.55 kB / 496.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.325, allocations: 11.22 kB / 496.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.04e-05/0.3251, allocations: 10.34 kB / 496.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.3251, allocations: 10.19 kB / 496.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.3251, allocations: 3.547 kB / 496.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.436e-05/0.3252, allocations: 116 kB / 496.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3252, allocations: 0 / 496.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.3255, allocations: 35.42 kB / 496.5 MB, free: 14.61 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.001113/0.3266, allocations: 0.4954 MB / 497 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.3268, allocations: 68.45 kB / 497.1 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3269, allocations: 8 kB / 497.1 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.654e-05/0.3269, allocations: 24.94 kB / 497.1 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.3273, allocations: 30.61 kB / 497.2 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.3276, allocations: 194.4 kB / 497.4 MB, free: 14.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.3278, allocations: 0.6992 MB / 498.1 MB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.82e-05/0.3278, allocations: 18.66 kB / 498.1 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.889e-05/0.3279, allocations: 17.94 kB / 498.1 MB, free: 13.3 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3279, allocations: 0 / 498.1 MB, free: 13.3 MB / 382.1 MB Notification: Performance of Templates: time 0.005312/0.3332, allocations: 1.953 MB / 0.4883 GB, free: 13.07 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1)