Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01056/0.01056, allocations: 100 kB / 15.73 MB, free: 5.965 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.001647/0.001647, allocations: 198.7 kB / 16.68 MB, free: 5.887 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.496/1.496, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.4009/0.4009, allocations: 39.93 MB / 309.8 MB, free: 9.402 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.001649/0.001649, allocations: 71.89 kB / 435.8 MB, free: 2.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4037, allocations: 56.88 MB / 492.7 MB, free: 19.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003649/0.4074, allocations: 1.898 MB / 494.6 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.409, allocations: 0.8426 MB / 495.5 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.4092, allocations: 5.156 kB / 495.5 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004836/0.4097, allocations: 42.52 kB / 495.5 MB, free: 17.47 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.0003903/0.4101, allocations: 61.23 kB / 495.6 MB, free: 17.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004244/0.4106, allocations: 105.4 kB / 495.7 MB, free: 17.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.4108, allocations: 137.8 kB / 495.8 MB, free: 17.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.411, allocations: 32.91 kB / 495.8 MB, free: 17.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.4111, allocations: 56 kB / 495.9 MB, free: 17.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.4113, allocations: 53.28 kB / 495.9 MB, free: 17.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.4113, allocations: 10.69 kB / 496 MB, free: 17.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.4114, allocations: 41.73 kB / 496 MB, free: 17.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.4116, allocations: 22.3 kB / 496 MB, free: 17.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.4117, allocations: 54.61 kB / 496.1 MB, free: 17.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003224/0.412, allocations: 149.8 kB / 496.2 MB, free: 17.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.412, allocations: 0 / 496.2 MB, free: 17.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.412, allocations: 0.7969 kB / 496.2 MB, free: 17.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.412, allocations: 1.281 kB / 496.2 MB, free: 17.11 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000858/0.4129, allocations: 474.5 kB / 496.7 MB, free: 16.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.413, allocations: 18 kB / 496.7 MB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.542e-05/0.4131, allocations: 20.31 kB / 496.7 MB, free: 16.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003807/0.4134, allocations: 228.5 kB / 496.9 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.4135, allocations: 8.328 kB / 496.9 MB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.936e-05/0.4135, allocations: 13.81 kB / 497 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/0.4138, allocations: 105.6 kB / 497.1 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.4138, allocations: 4 kB / 497.1 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.4138, allocations: 5.984 kB / 497.1 MB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.4139, allocations: 1.25 kB / 497.1 MB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.414, allocations: 47.75 kB / 497.1 MB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006596/0.4147, allocations: 0.5152 MB / 497.6 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/0.4151, allocations: 86.84 kB / 497.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.4152, allocations: 42.3 kB / 497.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.4152, allocations: 1.562 kB / 497.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002194/0.4155, allocations: 85.56 kB / 497.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.803e-06/0.4155, allocations: 0 / 497.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000467/0.4159, allocations: 138.2 kB / 498 MB, free: 15.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.416, allocations: 57.31 kB / 498 MB, free: 15.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.4162, allocations: 191.5 kB / 498.2 MB, free: 15.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.4162, allocations: 26.86 kB / 498.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.759e-05/0.4163, allocations: 123.6 kB / 498.4 MB, free: 15.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.4164, allocations: 26.98 kB / 498.4 MB, free: 15.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/0.4164, allocations: 27.83 kB / 498.4 MB, free: 15.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.4166, allocations: 328.7 kB / 498.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.4167, allocations: 28.3 kB / 498.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.4168, allocations: 67.62 kB / 498.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.417, allocations: 99.66 kB / 498.9 MB, free: 14.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.4171, allocations: 1.312 kB / 498.9 MB, free: 14.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00029/0.4174, allocations: 136.5 kB / 499.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.4174, allocations: 5.875 kB / 499.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.4174, allocations: 1.094 kB / 499.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.4174, allocations: 2.75 kB / 499.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.4175, allocations: 33.67 kB / 499.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.4176, allocations: 2.406 kB / 499.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.583e-05/0.4176, allocations: 14.58 kB / 499.1 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.4177, allocations: 8.125 kB / 499.1 MB, free: 14.69 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001078/0.4178, allocations: 130.1 kB / 499.3 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.4178, allocations: 13.91 kB / 499.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.11e-05/0.4179, allocations: 19.48 kB / 499.3 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.4179, allocations: 5.625 kB / 499.3 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.4179, allocations: 1.688 kB / 499.3 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.4179, allocations: 0.7031 kB / 499.3 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.4181, allocations: 206 kB / 499.5 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4182, allocations: 7.938 kB / 499.5 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.8e-05/0.4182, allocations: 11.41 kB / 499.5 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4183, allocations: 1.5 kB / 499.5 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.4183, allocations: 6.109 kB / 499.5 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.4183, allocations: 4.688 kB / 499.5 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4183, allocations: 0 / 499.5 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004328/0.4187, allocations: 183.7 kB / 499.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.91e-05/0.4188, allocations: 84.8 kB / 499.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.4188, allocations: 5.781 kB / 499.8 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.227e-05/0.4189, allocations: 13.67 kB / 499.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.419, allocations: 10.5 kB / 499.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.419, allocations: 3.312 kB / 499.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001227/0.4191, allocations: 138.3 kB / 500 MB, free: 14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4191, allocations: 0 / 500 MB, free: 14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.4194, allocations: 29.84 kB / 500 MB, free: 13.99 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001063/0.4205, allocations: 420.6 kB / 0.4887 GB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002824/0.4208, allocations: 85.56 kB / 0.4888 GB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4208, allocations: 1.406 kB / 0.4888 GB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.4209, allocations: 38.31 kB / 0.4888 GB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.4212, allocations: 39.5 kB / 0.4888 GB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000622/0.4219, allocations: 265.3 kB / 0.4891 GB, free: 13.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.4221, allocations: 0.7159 MB / 0.4898 GB, free: 12.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.637e-05/0.4222, allocations: 14.86 kB / 0.4898 GB, free: 12.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.4222, allocations: 16.81 kB / 0.4898 GB, free: 12.71 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4222, allocations: 0 / 0.4898 GB, free: 12.71 MB / 382.1 MB Notification: Performance of Templates: time 0.006011/0.4283, allocations: 1.893 MB / 0.4917 GB, free: 12.51 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1)