Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Test16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009791/0.009791, allocations: 100.3 kB / 15.73 MB, free: 6 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.002347/0.002347, allocations: 195.4 kB / 16.67 MB, free: 5.918 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.807/1.807, allocations: 205.1 MB / 222.6 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3648/0.3648, allocations: 39.94 MB / 309.8 MB, free: 9.41 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.2. 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.001482/0.001482, allocations: 67.89 kB / 435.8 MB, free: 2.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.412, allocations: 56.87 MB / 492.7 MB, free: 19.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003608/0.4157, allocations: 1.689 MB / 494.4 MB, free: 18.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.4174, allocations: 0.8047 MB / 495.2 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.4175, allocations: 1.188 kB / 495.2 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003868/0.418, allocations: 41.02 kB / 495.3 MB, free: 17.76 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.0002647/0.4182, allocations: 53.62 kB / 495.3 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.4185, allocations: 79.3 kB / 495.4 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.4187, allocations: 98.88 kB / 495.5 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.4189, allocations: 20.42 kB / 495.5 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.419, allocations: 37.95 kB / 495.5 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.035e-05/0.4191, allocations: 37.41 kB / 495.6 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.4191, allocations: 3.312 kB / 495.6 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.4192, allocations: 40.22 kB / 495.6 MB, free: 17.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.54e-05/0.4193, allocations: 20.48 kB / 495.6 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.627e-05/0.4194, allocations: 37.61 kB / 495.7 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.4197, allocations: 108.8 kB / 495.8 MB, free: 17.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.4197, allocations: 0.5625 kB / 495.8 MB, free: 17.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4197, allocations: 0 / 495.8 MB, free: 17.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.4197, allocations: 1.25 kB / 495.8 MB, free: 17.5 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.0005907/0.4203, allocations: 407 kB / 496.2 MB, free: 17.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.4204, allocations: 17.33 kB / 496.2 MB, free: 17.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.25e-05/0.4204, allocations: 13.69 kB / 496.2 MB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/0.4209, allocations: 210.7 kB / 496.4 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.4209, allocations: 1.594 kB / 496.4 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.4209, allocations: 10.11 kB / 496.4 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.4211, allocations: 50.8 kB / 496.5 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.4211, allocations: 4.828 kB / 496.5 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.4211, allocations: 4 kB / 496.5 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.4211, allocations: 1.438 kB / 496.5 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.146e-05/0.4212, allocations: 21.95 kB / 496.5 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004405/0.4217, allocations: 282.1 kB / 496.8 MB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.4219, allocations: 55.58 kB / 496.8 MB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.998e-05/0.4219, allocations: 24.61 kB / 496.9 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.422, allocations: 5.5 kB / 496.9 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.4221, allocations: 64.8 kB / 496.9 MB, free: 16.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.923e-06/0.4221, allocations: 0 / 496.9 MB, free: 16.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006297/0.4228, allocations: 180.5 kB / 497.1 MB, free: 16.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.4228, allocations: 52.59 kB / 497.2 MB, free: 16.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.423, allocations: 169.1 kB / 497.3 MB, free: 16.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.4231, allocations: 27.14 kB / 497.4 MB, free: 16.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.4231, allocations: 107.1 kB / 497.5 MB, free: 16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.4232, allocations: 26.19 kB / 497.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.4232, allocations: 22.91 kB / 497.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.894e-05/0.4233, allocations: 324 kB / 497.8 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.816e-05/0.4234, allocations: 22.55 kB / 497.8 MB, free: 15.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.87e-05/0.4235, allocations: 38.61 kB / 497.9 MB, free: 15.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.4236, allocations: 61.67 kB / 497.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.4236, allocations: 0.9062 kB / 497.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001985/0.4238, allocations: 101.7 kB / 498 MB, free: 15.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.4239, allocations: 5.25 kB / 498 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4239, allocations: 0 / 498 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.4239, allocations: 5.719 kB / 498 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.424, allocations: 15.58 kB / 498.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.424, allocations: 1.219 kB / 498.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.27e-05/0.4241, allocations: 15.44 kB / 498.1 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.4241, allocations: 2 kB / 498.1 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 0.0001003/0.4242, allocations: 120.2 kB / 498.2 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.4243, allocations: 17.31 kB / 498.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.294e-05/0.4243, allocations: 14.19 kB / 498.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4243, allocations: 1.094 kB / 498.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4243, allocations: 1.156 kB / 498.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.4243, allocations: 4.547 kB / 498.2 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004613/0.4248, allocations: 388.6 kB / 498.6 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4248, allocations: 0 / 498.6 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.698e-05/0.4249, allocations: 9.844 kB / 498.6 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.4249, allocations: 1.531 kB / 498.6 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.4249, allocations: 6.875 kB / 498.6 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4249, allocations: 0 / 498.6 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.4249, allocations: 2.219 kB / 498.6 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.4252, allocations: 212.7 kB / 498.8 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.4253, allocations: 84.08 kB / 498.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.4253, allocations: 10.72 kB / 498.9 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.471e-05/0.4254, allocations: 7.188 kB / 498.9 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.4254, allocations: 9.312 kB / 499 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.4255, allocations: 7.75 kB / 499 MB, free: 14.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001593/0.4256, allocations: 133.5 kB / 499.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4256, allocations: 0 / 499.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002921/0.4259, allocations: 29.7 kB / 499.1 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.00127/0.4272, allocations: 462.9 kB / 499.6 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.4275, allocations: 63.64 kB / 499.6 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4275, allocations: 1.531 kB / 499.6 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.502e-05/0.4276, allocations: 24.73 kB / 499.7 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.4281, allocations: 31.09 kB / 499.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007986/0.4289, allocations: 219.4 kB / 499.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.4291, allocations: 0.7021 MB / 0.4889 GB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.887e-05/0.4292, allocations: 18.55 kB / 0.4889 GB, free: 13.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.122e-05/0.4292, allocations: 16.14 kB / 0.4889 GB, free: 13.32 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4292, allocations: 3.938 kB / 0.4889 GB, free: 13.32 MB / 382.1 MB Notification: Performance of Templates: time 0.006759/0.436, allocations: 1.716 MB / 0.4906 GB, free: 13.12 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1)