Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007249/0.007249, allocations: 97.33 kB / 15.73 MB, free: 5.527 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.001592/0.001592, allocations: 187 kB / 16.67 MB, free: 5.465 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.556/1.556, allocations: 205.1 MB / 222.5 MB, free: 4.387 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.3788/0.3788, allocations: 38 MB / 307.9 MB, free: 10.33 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.002969/0.002969, allocations: 84.31 kB / 433.1 MB, free: 5.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3785, allocations: 56.45 MB / 489.5 MB, free: 19.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003509/0.382, allocations: 1.974 MB / 491.5 MB, free: 18.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.3834, allocations: 0.9016 MB / 492.4 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.3835, allocations: 1.5 kB / 492.4 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.3839, allocations: 46.19 kB / 492.4 MB, free: 17.93 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.0002528/0.3841, allocations: 75.39 kB / 492.5 MB, free: 17.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.3845, allocations: 126.1 kB / 492.6 MB, free: 17.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002924/0.3848, allocations: 194.1 kB / 492.8 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.3849, allocations: 38.59 kB / 492.9 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.3851, allocations: 78.03 kB / 492.9 MB, free: 17.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.3852, allocations: 80.62 kB / 493 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.953e-05/0.3853, allocations: 11.91 kB / 493 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.3854, allocations: 54.73 kB / 493.1 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.3855, allocations: 39.23 kB / 493.1 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.3856, allocations: 67.23 kB / 493.2 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000426/0.386, allocations: 202.8 kB / 493.4 MB, free: 17.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3861, allocations: 0 / 493.4 MB, free: 17.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3861, allocations: 0 / 493.4 MB, free: 17.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.3861, allocations: 0 / 493.4 MB, free: 17.46 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009675/0.3871, allocations: 0.5557 MB / 493.9 MB, free: 16.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.3871, allocations: 13.33 kB / 493.9 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.097e-05/0.3872, allocations: 22.73 kB / 494 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.3876, allocations: 250.8 kB / 494.2 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.3876, allocations: 9.078 kB / 494.2 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.3876, allocations: 9.656 kB / 494.2 MB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004459/0.3881, allocations: 149.9 kB / 494.4 MB, free: 16.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.3881, allocations: 5.062 kB / 494.4 MB, free: 16.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.3881, allocations: 5.703 kB / 494.4 MB, free: 16.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.3882, allocations: 1.219 kB / 494.4 MB, free: 16.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004756/0.3886, allocations: 117.4 kB / 494.5 MB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006485/0.3893, allocations: 0.5377 MB / 495 MB, free: 16.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007499/0.3901, allocations: 164.4 kB / 495.2 MB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/0.3903, allocations: 78.25 kB / 495.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.3904, allocations: 1.656 kB / 495.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003644/0.3907, allocations: 138.9 kB / 495.4 MB, free: 15.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.663e-06/0.3907, allocations: 0 / 495.4 MB, free: 15.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009181/0.3917, allocations: 258 kB / 495.7 MB, free: 15.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.3917, allocations: 63 kB / 495.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.3919, allocations: 222.9 kB / 495.9 MB, free: 15.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.392, allocations: 28.84 kB / 496 MB, free: 15.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.392, allocations: 125.3 kB / 496.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.3921, allocations: 40.44 kB / 496.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.209e-05/0.3921, allocations: 34.94 kB / 496.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.127e-05/0.3922, allocations: 332.7 kB / 496.5 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/0.3925, allocations: 68.66 kB / 496.6 MB, free: 15.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.3928, allocations: 104.5 kB / 496.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004957/0.3933, allocations: 195.2 kB / 496.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3933, allocations: 4 kB / 496.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006438/0.3939, allocations: 256.3 kB / 497.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.394, allocations: 37.64 kB / 497.1 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.394, allocations: 1.531 kB / 497.1 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.394, allocations: 3.031 kB / 497.1 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.3942, allocations: 44.58 kB / 497.2 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.3942, allocations: 3.219 kB / 497.2 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.3944, allocations: 31.59 kB / 497.2 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.3944, allocations: 5.969 kB / 497.2 MB, free: 14.74 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.791e-05/0.3945, allocations: 128.5 kB / 497.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/0.3946, allocations: 15.84 kB / 497.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.66e-05/0.3946, allocations: 26.42 kB / 497.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.3947, allocations: 10.14 kB / 497.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3947, allocations: 0 / 497.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3947, allocations: 0.75 kB / 497.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.3949, allocations: 234.6 kB / 497.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3949, allocations: 3.938 kB / 497.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.395, allocations: 23.11 kB / 497.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.395, allocations: 1.609 kB / 497.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.3951, allocations: 6.375 kB / 497.7 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3951, allocations: 4.969 kB / 497.7 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3951, allocations: 9.031 kB / 497.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008512/0.3959, allocations: 301.3 kB / 498 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.91e-05/0.396, allocations: 102.3 kB / 498.1 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.396, allocations: 1.797 kB / 498.1 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.3962, allocations: 23.69 kB / 498.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.32e-05/0.3963, allocations: 25.34 kB / 498.1 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.3963, allocations: 8.125 kB / 498.1 MB, free: 14.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.3965, allocations: 166.9 kB / 498.3 MB, free: 13.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3965, allocations: 0 / 498.3 MB, free: 13.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.3968, allocations: 38.8 kB / 498.3 MB, free: 13.97 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009241/0.3977, allocations: 410.8 kB / 498.7 MB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006241/0.3983, allocations: 215.9 kB / 499 MB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3983, allocations: 0 / 499 MB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002786/0.3986, allocations: 89.75 kB / 499 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.399, allocations: 49.23 kB / 499.1 MB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006365/0.3996, allocations: 315.6 kB / 499.4 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.3998, allocations: 0.7245 MB / 0.4884 GB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.141e-05/0.3999, allocations: 18.67 kB / 0.4884 GB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.174e-05/0.4, allocations: 23.84 kB / 0.4884 GB, free: 12.59 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4, allocations: 0 / 0.4884 GB, free: 12.59 MB / 382.1 MB Notification: Performance of Templates: time 0.007047/0.407, allocations: 2.806 MB / 0.4912 GB, free: 12.34 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)