Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007764/0.007765, allocations: 101.5 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.001173/0.001173, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.608/1.608, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.3431/0.3431, allocations: 39.95 MB / 309.8 MB, free: 9.258 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.001554/0.001554, allocations: 75.89 kB / 435.8 MB, free: 2.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.4091, allocations: 56.87 MB / 492.7 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003489/0.4126, allocations: 1.688 MB / 494.4 MB, free: 18.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.4143, allocations: 0.8083 MB / 495.2 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.82e-05/0.4144, allocations: 1.062 kB / 495.2 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000436/0.4149, allocations: 46.25 kB / 495.3 MB, free: 17.73 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.0002946/0.4152, allocations: 60.44 kB / 495.3 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.4155, allocations: 81 kB / 495.4 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002664/0.4158, allocations: 95.05 kB / 495.5 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.416, allocations: 16.12 kB / 495.5 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.4161, allocations: 45.59 kB / 495.6 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.282e-05/0.4162, allocations: 34.03 kB / 495.6 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.4162, allocations: 7.906 kB / 495.6 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.4163, allocations: 39.17 kB / 495.6 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.392e-05/0.4164, allocations: 22.94 kB / 495.7 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.7e-05/0.4165, allocations: 38.22 kB / 495.7 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.4168, allocations: 120.9 kB / 495.8 MB, free: 17.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.4168, allocations: 0 / 495.8 MB, free: 17.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4168, allocations: 3.938 kB / 495.8 MB, free: 17.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.4168, allocations: 0 / 495.8 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.0006596/0.4175, allocations: 430.5 kB / 496.2 MB, free: 17.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.4175, allocations: 13.47 kB / 496.3 MB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.51e-05/0.4176, allocations: 18.31 kB / 496.3 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.418, allocations: 211.9 kB / 496.5 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.418, allocations: 1.969 kB / 496.5 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.307e-05/0.418, allocations: 7.516 kB / 496.5 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.4182, allocations: 58.17 kB / 496.5 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.4183, allocations: 0 / 496.5 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.4183, allocations: 0.75 kB / 496.5 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.4183, allocations: 1.719 kB / 496.5 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.938e-05/0.4184, allocations: 26.27 kB / 496.6 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/0.4188, allocations: 289.7 kB / 496.9 MB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.419, allocations: 56.19 kB / 496.9 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.114e-05/0.4191, allocations: 19.56 kB / 496.9 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.4192, allocations: 1.094 kB / 496.9 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.4193, allocations: 74.61 kB / 497 MB, free: 16.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.184e-06/0.4193, allocations: 0 / 497 MB, free: 16.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006096/0.42, allocations: 182.1 kB / 497.2 MB, free: 16.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.42, allocations: 53.22 kB / 497.2 MB, free: 16.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/0.4204, allocations: 218.6 kB / 497.4 MB, free: 16.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.4204, allocations: 26.92 kB / 497.5 MB, free: 16.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.4205, allocations: 110.4 kB / 497.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.074e-05/0.4206, allocations: 28.66 kB / 497.6 MB, free: 15.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.299e-05/0.4206, allocations: 23.45 kB / 497.6 MB, free: 15.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.4207, allocations: 331.4 kB / 498 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.412e-05/0.4208, allocations: 17.42 kB / 498 MB, free: 15.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.135e-05/0.4209, allocations: 35.28 kB / 498 MB, free: 15.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.4211, allocations: 64.48 kB / 498.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.4211, allocations: 0.9688 kB / 498.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002542/0.4213, allocations: 102.6 kB / 498.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.4214, allocations: 5.062 kB / 498.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.4214, allocations: 5.125 kB / 498.2 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.265e-05/0.4214, allocations: 1.844 kB / 498.2 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.4216, allocations: 22.92 kB / 498.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.4216, allocations: 1.531 kB / 498.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.836e-05/0.4217, allocations: 11.05 kB / 498.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.4217, allocations: 10.62 kB / 498.2 MB, free: 15.4 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.0001614/0.4219, allocations: 129.6 kB / 498.4 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.4219, allocations: 10.23 kB / 498.4 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.847e-05/0.422, allocations: 17.14 kB / 498.4 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.422, allocations: 1.375 kB / 498.4 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.422, allocations: 0 / 498.4 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/0.422, allocations: 5.984 kB / 498.4 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006911/0.4227, allocations: 400.9 kB / 498.8 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.4228, allocations: 0.7969 kB / 498.8 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.541e-05/0.4228, allocations: 8.984 kB / 498.8 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.4228, allocations: 6.266 kB / 498.8 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.4228, allocations: 5.375 kB / 498.8 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.4229, allocations: 0.75 kB / 498.8 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4229, allocations: 1.438 kB / 498.8 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.4232, allocations: 206.6 kB / 499 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-05/0.4233, allocations: 88.09 kB / 499.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.4233, allocations: 10.31 kB / 499.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.798e-05/0.4234, allocations: 3.484 kB / 499.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.097e-05/0.4235, allocations: 5.016 kB / 499.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/0.4235, allocations: 3.594 kB / 499.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002461/0.4238, allocations: 172.4 kB / 499.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4238, allocations: 0 / 499.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003693/0.4242, allocations: 26.06 kB / 499.3 MB, free: 14.51 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.00137/0.4255, allocations: 473.2 kB / 499.8 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002605/0.4258, allocations: 53.23 kB / 499.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.4258, allocations: 4.062 kB / 499.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.923e-05/0.4259, allocations: 36.31 kB / 499.9 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.0004281/0.4264, allocations: 35.8 kB / 499.9 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006245/0.427, allocations: 259.3 kB / 0.4884 GB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.4273, allocations: 0.711 MB / 0.4891 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.028e-05/0.4273, allocations: 21.5 kB / 0.4891 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.283e-05/0.4274, allocations: 15.72 kB / 0.4892 GB, free: 13.2 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4274, allocations: 0 / 0.4892 GB, free: 13.2 MB / 382.1 MB Notification: Performance of Templates: time 0.006067/0.4335, allocations: 1.73 MB / 0.4908 GB, free: 13 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1)