Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00799/0.00799, allocations: 101.8 kB / 15.73 MB, free: 6.012 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.001931/0.001931, allocations: 190 kB / 16.67 MB, free: 5.949 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.611/1.611, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.3598/0.3598, allocations: 39.95 MB / 309.8 MB, free: 9.328 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.001715/0.001715, allocations: 71.91 kB / 435.8 MB, free: 2.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3873, allocations: 56.87 MB / 492.7 MB, free: 19.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.00374/0.3911, allocations: 1.692 MB / 494.4 MB, free: 18.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.3925, allocations: 0.8007 MB / 495.2 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.565e-05/0.3926, allocations: 1.188 kB / 495.2 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003919/0.393, allocations: 85.22 kB / 495.3 MB, free: 17.74 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.0002787/0.3933, allocations: 83.45 kB / 495.4 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.3936, allocations: 89.19 kB / 495.5 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.3938, allocations: 108.3 kB / 495.6 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.394, allocations: 10.53 kB / 495.6 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.3941, allocations: 57.23 kB / 495.6 MB, free: 17.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.3942, allocations: 58.83 kB / 495.7 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.3943, allocations: 7.531 kB / 495.7 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.3944, allocations: 41.48 kB / 495.7 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.259e-05/0.3945, allocations: 24.95 kB / 495.8 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.405e-05/0.3945, allocations: 47.25 kB / 495.8 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.3948, allocations: 115.3 kB / 495.9 MB, free: 17.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.3948, allocations: 0 / 495.9 MB, free: 17.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.3948, allocations: 4.75 kB / 495.9 MB, free: 17.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.3948, allocations: 0 / 495.9 MB, free: 17.45 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.0006335/0.3955, allocations: 433.4 kB / 496.4 MB, free: 17.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.3955, allocations: 13.95 kB / 496.4 MB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.454e-05/0.3956, allocations: 10.38 kB / 496.4 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.3959, allocations: 217.2 kB / 496.6 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.3959, allocations: 1.781 kB / 496.6 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.396, allocations: 5.562 kB / 496.6 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.3961, allocations: 54.78 kB / 496.6 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3962, allocations: 0 / 496.6 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.3962, allocations: 1.656 kB / 496.7 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3962, allocations: 0.7969 kB / 496.7 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.917e-05/0.3963, allocations: 21.83 kB / 496.7 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003953/0.3967, allocations: 294.4 kB / 497 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.3969, allocations: 56.39 kB / 497 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.541e-05/0.3969, allocations: 19.7 kB / 497 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.397, allocations: 1.562 kB / 497 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.3971, allocations: 77.25 kB / 497.1 MB, free: 16.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.3971, allocations: 0 / 497.1 MB, free: 16.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006101/0.3977, allocations: 182.7 kB / 497.3 MB, free: 16.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.3978, allocations: 53.11 kB / 497.3 MB, free: 16.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.398, allocations: 214.9 kB / 497.6 MB, free: 16.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.3981, allocations: 31.27 kB / 497.6 MB, free: 16.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.3981, allocations: 104.5 kB / 497.7 MB, free: 15.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.3982, allocations: 26.75 kB / 497.7 MB, free: 15.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.54e-05/0.3982, allocations: 25.41 kB / 497.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.441e-05/0.3983, allocations: 335.5 kB / 498.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/0.3984, allocations: 17.42 kB / 498.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.495e-05/0.3984, allocations: 36.52 kB / 498.1 MB, free: 15.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.3986, allocations: 64.72 kB / 498.2 MB, free: 15.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3986, allocations: 0 / 498.2 MB, free: 15.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001817/0.3988, allocations: 105.6 kB / 498.3 MB, free: 15.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.3988, allocations: 8.188 kB / 498.3 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3988, allocations: 3.984 kB / 498.3 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.3988, allocations: 0.8125 kB / 498.3 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.649e-05/0.3989, allocations: 19.45 kB / 498.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.3989, allocations: 2.328 kB / 498.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.453e-05/0.399, allocations: 5.734 kB / 498.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.399, allocations: 8.609 kB / 498.3 MB, free: 15.41 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 9.15e-05/0.3991, allocations: 132.1 kB / 498.5 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.3991, allocations: 10.5 kB / 498.5 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.679e-05/0.3992, allocations: 20.94 kB / 498.5 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3992, allocations: 1.406 kB / 498.5 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.3992, allocations: 0.7031 kB / 498.5 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3992, allocations: 5.094 kB / 498.5 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004005/0.3996, allocations: 397.3 kB / 498.9 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3996, allocations: 1.562 kB / 498.9 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.254e-05/0.3997, allocations: 12.31 kB / 498.9 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3997, allocations: 1.406 kB / 498.9 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.3997, allocations: 14.19 kB / 498.9 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3997, allocations: 1.406 kB / 498.9 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3997, allocations: 0.9844 kB / 498.9 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.3999, allocations: 193.7 kB / 499.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.4, allocations: 88.67 kB / 499.2 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.4, allocations: 14.23 kB / 499.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.901e-05/0.4001, allocations: 7.688 kB / 499.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.4001, allocations: 5.938 kB / 499.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.4001, allocations: 4.203 kB / 499.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001385/0.4003, allocations: 170.6 kB / 499.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4003, allocations: 3.938 kB / 499.4 MB, free: 14.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000259/0.4005, allocations: 25.8 kB / 499.4 MB, free: 14.5 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.001015/0.4016, allocations: 472.5 kB / 499.9 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001791/0.4017, allocations: 52.44 kB / 499.9 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4018, allocations: 0 / 499.9 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.307e-05/0.4018, allocations: 37.05 kB / 500 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.4022, allocations: 35.36 kB / 0.4883 GB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005158/0.4027, allocations: 256.1 kB / 0.4885 GB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.403, allocations: 0.7101 MB / 0.4892 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.031e-05/0.403, allocations: 21.84 kB / 0.4892 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.272e-05/0.4031, allocations: 20.28 kB / 0.4893 GB, free: 13.2 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4031, allocations: 0 / 0.4893 GB, free: 13.2 MB / 382.1 MB Notification: Performance of Templates: time 0.005518/0.4086, allocations: 1.725 MB / 0.4909 GB, free: 13 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1)