Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007744/0.007744, allocations: 101.1 kB / 15.73 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.001581/0.001581, allocations: 187.8 kB / 16.67 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.684/1.684, allocations: 205.1 MB / 222.5 MB, free: 4.383 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.3874/0.3874, allocations: 38 MB / 307.9 MB, free: 10.42 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.001591/0.001591, allocations: 75.89 kB / 433.1 MB, free: 5.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.3999, allocations: 56.45 MB / 489.5 MB, free: 20.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003542/0.4035, allocations: 1.667 MB / 491.2 MB, free: 19.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.405, allocations: 0.8154 MB / 492 MB, free: 18.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.179e-05/0.4051, allocations: 1 kB / 492 MB, free: 18.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003823/0.4055, allocations: 52.17 kB / 492 MB, free: 18.5 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.0002815/0.4058, allocations: 58.28 kB / 492.1 MB, free: 18.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.4061, allocations: 84.52 kB / 492.2 MB, free: 18.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.4063, allocations: 96.14 kB / 492.3 MB, free: 18.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.4064, allocations: 11.55 kB / 492.3 MB, free: 18.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.4066, allocations: 44.72 kB / 492.3 MB, free: 18.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.922e-05/0.4067, allocations: 26.73 kB / 492.4 MB, free: 18.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.4067, allocations: 8.156 kB / 492.4 MB, free: 18.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.4069, allocations: 46.22 kB / 492.4 MB, free: 18.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.161e-05/0.4069, allocations: 27.7 kB / 492.4 MB, free: 18.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.344e-05/0.407, allocations: 39.88 kB / 492.5 MB, free: 18.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.4073, allocations: 139.2 kB / 492.6 MB, free: 18.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4073, allocations: 1.344 kB / 492.6 MB, free: 18.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4073, allocations: 0 / 492.6 MB, free: 18.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.4073, allocations: 0 / 492.6 MB, free: 18.21 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.0005935/0.4079, allocations: 434.9 kB / 493 MB, free: 17.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.408, allocations: 13.7 kB / 493.1 MB, free: 17.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.254e-05/0.4081, allocations: 18.56 kB / 493.1 MB, free: 17.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.4083, allocations: 222.3 kB / 493.3 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.4084, allocations: 6.188 kB / 493.3 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.4084, allocations: 6.25 kB / 493.3 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.4086, allocations: 62.34 kB / 493.4 MB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.4086, allocations: 1.25 kB / 493.4 MB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.4086, allocations: 0 / 493.4 MB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.4086, allocations: 1.25 kB / 493.4 MB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.987e-05/0.4087, allocations: 17.59 kB / 493.4 MB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.4091, allocations: 298.4 kB / 493.7 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.4093, allocations: 55.56 kB / 493.7 MB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.645e-05/0.4094, allocations: 24.73 kB / 493.8 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.4094, allocations: 1.125 kB / 493.8 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.4096, allocations: 69.31 kB / 493.8 MB, free: 17.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.4096, allocations: 0 / 493.8 MB, free: 17.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006675/0.4103, allocations: 187.4 kB / 494 MB, free: 17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.4103, allocations: 53.2 kB / 494.1 MB, free: 16.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003355/0.4107, allocations: 259 kB / 494.3 MB, free: 16.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.4107, allocations: 29.7 kB / 494.3 MB, free: 16.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/0.4108, allocations: 115.9 kB / 494.4 MB, free: 16.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.4108, allocations: 26.23 kB / 494.5 MB, free: 16.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.4109, allocations: 22.05 kB / 494.5 MB, free: 16.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.67e-05/0.411, allocations: 332.7 kB / 494.8 MB, free: 16.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.256e-05/0.4111, allocations: 16.95 kB / 494.8 MB, free: 16.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.555e-05/0.4112, allocations: 39.86 kB / 494.9 MB, free: 16.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.4113, allocations: 61.98 kB / 494.9 MB, free: 16.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.4113, allocations: 0 / 494.9 MB, free: 16.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002401/0.4116, allocations: 106.3 kB / 495 MB, free: 16.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.4116, allocations: 6.406 kB / 495 MB, free: 16.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.4116, allocations: 0.5156 kB / 495 MB, free: 16.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.111e-05/0.4116, allocations: 5.875 kB / 495.1 MB, free: 16.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.4118, allocations: 14.66 kB / 495.1 MB, free: 16.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.4118, allocations: 5.188 kB / 495.1 MB, free: 16.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.392e-05/0.4119, allocations: 11.78 kB / 495.1 MB, free: 16.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.4119, allocations: 5.906 kB / 495.1 MB, free: 16.13 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.0001229/0.412, allocations: 137.6 kB / 495.2 MB, free: 16.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.4121, allocations: 15 kB / 495.2 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.581e-05/0.4121, allocations: 18.56 kB / 495.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.4122, allocations: 1.562 kB / 495.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4122, allocations: 0 / 495.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.4122, allocations: 10.09 kB / 495.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005192/0.4127, allocations: 401 kB / 495.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.4127, allocations: 5.766 kB / 495.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/0.4128, allocations: 8.422 kB / 495.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.4128, allocations: 1.969 kB / 495.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.4128, allocations: 6.266 kB / 495.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.4128, allocations: 1.312 kB / 495.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4128, allocations: 0 / 495.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.4131, allocations: 215 kB / 495.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/0.4132, allocations: 88.09 kB / 496 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.4132, allocations: 7.828 kB / 496 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.4133, allocations: 2.094 kB / 496 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.4134, allocations: 10.03 kB / 496 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.4134, allocations: 3.391 kB / 496 MB, free: 15.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000224/0.4136, allocations: 192.1 kB / 496.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4136, allocations: 0 / 496.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004246/0.4141, allocations: 23.22 kB / 496.2 MB, free: 15.23 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.001353/0.4154, allocations: 481.3 kB / 496.7 MB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000248/0.4157, allocations: 59.7 kB / 496.7 MB, free: 14.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4157, allocations: 5.156 kB / 496.7 MB, free: 14.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.57e-05/0.4158, allocations: 32.41 kB / 496.8 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005187/0.4163, allocations: 38.42 kB / 496.8 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00062/0.417, allocations: 276.7 kB / 497.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.4172, allocations: 0.7161 MB / 497.8 MB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.863e-05/0.4173, allocations: 16.27 kB / 497.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.814e-05/0.4174, allocations: 17.48 kB / 497.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4174, allocations: 0 / 497.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of Templates: time 0.007331/0.4247, allocations: 1.735 MB / 499.6 MB, free: 13.7 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1)