Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008777/0.008777, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001528/0.001528, allocations: 193.3 kB / 16.67 MB, free: 5.953 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.66/1.66, allocations: 205.1 MB / 222.6 MB, free: 4.48 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.3323/0.3323, allocations: 37.99 MB / 307.9 MB, free: 10.12 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.001643/0.001643, allocations: 67.91 kB / 433.1 MB, free: 5.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3243, allocations: 56.46 MB / 489.5 MB, free: 19.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003426/0.3278, allocations: 1.672 MB / 491.2 MB, free: 18.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.3291, allocations: 0.8053 MB / 492 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.3293, allocations: 0 / 492 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003342/0.3296, allocations: 47.14 kB / 492 MB, free: 18.19 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.0002899/0.3299, allocations: 50.62 kB / 492.1 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.3303, allocations: 79.95 kB / 492.2 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.3305, allocations: 100.2 kB / 492.3 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/0.3306, allocations: 10.91 kB / 492.3 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.3307, allocations: 41.98 kB / 492.3 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.489e-05/0.3308, allocations: 30.88 kB / 492.3 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.3308, allocations: 7.594 kB / 492.4 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.331, allocations: 42.31 kB / 492.4 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.95e-05/0.331, allocations: 19.16 kB / 492.4 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.593e-05/0.3311, allocations: 36.83 kB / 492.4 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.3314, allocations: 111.1 kB / 492.6 MB, free: 17.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3314, allocations: 3.938 kB / 492.6 MB, free: 17.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.3314, allocations: 0.5625 kB / 492.6 MB, free: 17.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.3314, allocations: 0 / 492.6 MB, free: 17.93 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.0006504/0.3321, allocations: 409.8 kB / 493 MB, free: 17.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.3321, allocations: 21.27 kB / 493 MB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.394e-05/0.3322, allocations: 13.91 kB / 493 MB, free: 17.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.3325, allocations: 206.9 kB / 493.2 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.3326, allocations: 1.625 kB / 493.2 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.3326, allocations: 10.28 kB / 493.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.3328, allocations: 59.12 kB / 493.3 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.3328, allocations: 0 / 493.3 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.3328, allocations: 0.6094 kB / 493.3 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3329, allocations: 1.094 kB / 493.3 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.438e-05/0.3329, allocations: 26.83 kB / 493.3 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.3333, allocations: 285.9 kB / 493.6 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.3335, allocations: 56.22 kB / 493.6 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.426e-05/0.3336, allocations: 19.72 kB / 493.6 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.3336, allocations: 5.656 kB / 493.7 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.3338, allocations: 66.23 kB / 493.7 MB, free: 16.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.3338, allocations: 0 / 493.7 MB, free: 16.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006351/0.3345, allocations: 176.3 kB / 493.9 MB, free: 16.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.3345, allocations: 56.94 kB / 493.9 MB, free: 16.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.3347, allocations: 184.6 kB / 494.1 MB, free: 16.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.3347, allocations: 26.86 kB / 494.2 MB, free: 16.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.3348, allocations: 104.3 kB / 494.3 MB, free: 16.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.3349, allocations: 25.77 kB / 494.3 MB, free: 16.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-05/0.3349, allocations: 21.81 kB / 494.3 MB, free: 16.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.449e-05/0.335, allocations: 330 kB / 494.6 MB, free: 16.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.59e-05/0.3351, allocations: 16.56 kB / 494.6 MB, free: 16.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.94e-05/0.3352, allocations: 39.7 kB / 494.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.3353, allocations: 62.92 kB / 494.7 MB, free: 16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3353, allocations: 0 / 494.7 MB, free: 16 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002186/0.3355, allocations: 100.2 kB / 494.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.3356, allocations: 6.906 kB / 494.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3356, allocations: 0 / 494.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.3356, allocations: 1.688 kB / 494.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.3357, allocations: 15.27 kB / 494.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.3357, allocations: 1.094 kB / 494.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.519e-05/0.3358, allocations: 15.3 kB / 494.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.3358, allocations: 6.578 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 0.0001035/0.3359, allocations: 129.8 kB / 495 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.3359, allocations: 9.734 kB / 495 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.929e-05/0.336, allocations: 21.83 kB / 495 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.289e-06/0.336, allocations: 2.203 kB / 495 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.336, allocations: 0 / 495 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.336, allocations: 6.344 kB / 495 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004659/0.3365, allocations: 389.6 kB / 495.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3365, allocations: 0 / 495.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.021e-05/0.3366, allocations: 12.64 kB / 495.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.3366, allocations: 1.25 kB / 495.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.3366, allocations: 6.5 kB / 495.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3366, allocations: 1.219 kB / 495.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3366, allocations: 1.188 kB / 495.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.3369, allocations: 208.3 kB / 495.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-05/0.3369, allocations: 93.55 kB / 495.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.337, allocations: 5.578 kB / 495.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.605e-05/0.3371, allocations: 2.906 kB / 495.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.3371, allocations: 6.453 kB / 495.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.3371, allocations: 11.28 kB / 495.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.3373, allocations: 144.3 kB / 495.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3373, allocations: 0 / 495.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003113/0.3376, allocations: 25.83 kB / 495.9 MB, free: 15.03 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.001023/0.3386, allocations: 464.4 kB / 496.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.3388, allocations: 64.69 kB / 496.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3388, allocations: 0 / 496.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.882e-05/0.3389, allocations: 29.06 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.0003415/0.3393, allocations: 41.97 kB / 496.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005091/0.3398, allocations: 218.6 kB / 496.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.34, allocations: 0.7086 MB / 497.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.1e-05/0.3401, allocations: 21.64 kB / 497.5 MB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.3402, allocations: 19.73 kB / 497.5 MB, free: 13.73 MB / 382.1 MB Notification: Performance of SimCode: time 9.51e-07/0.3402, allocations: 1.062 kB / 497.5 MB, free: 13.73 MB / 382.1 MB Notification: Performance of Templates: time 0.005982/0.3461, allocations: 1.689 MB / 499.2 MB, free: 13.55 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1)