Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007308/0.007308, allocations: 103.1 kB / 15.73 MB, free: 6.043 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.001484/0.001484, allocations: 188.4 kB / 16.67 MB, free: 5.961 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.601/1.601, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.4068/0.4068, allocations: 39.94 MB / 309.8 MB, free: 9.445 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.001838/0.001838, allocations: 71.91 kB / 435.8 MB, free: 2.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3888, allocations: 56.88 MB / 492.7 MB, free: 19.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003298/0.3921, allocations: 1.684 MB / 494.4 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.3935, allocations: 0.8009 MB / 495.2 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.193e-05/0.3935, allocations: 9.344 kB / 495.2 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.3939, allocations: 34.08 kB / 495.3 MB, free: 17.63 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.0002519/0.3942, allocations: 56.62 kB / 495.3 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.3944, allocations: 76.69 kB / 495.4 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.3946, allocations: 98.58 kB / 495.5 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.3948, allocations: 19.44 kB / 495.5 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.3949, allocations: 37.61 kB / 495.5 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.395, allocations: 39.12 kB / 495.6 MB, free: 17.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.3951, allocations: 3.688 kB / 495.6 MB, free: 17.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.3952, allocations: 38.48 kB / 495.6 MB, free: 17.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.567e-05/0.3953, allocations: 21.55 kB / 495.6 MB, free: 17.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.796e-05/0.3953, allocations: 33.23 kB / 495.7 MB, free: 17.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.3956, allocations: 108.5 kB / 495.8 MB, free: 17.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.3956, allocations: 1.656 kB / 495.8 MB, free: 17.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3956, allocations: 0 / 495.8 MB, free: 17.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.3956, allocations: 3.938 kB / 495.8 MB, free: 17.37 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.0005273/0.3961, allocations: 411.6 kB / 496.2 MB, free: 16.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.3962, allocations: 13.95 kB / 496.2 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.81e-05/0.3962, allocations: 13.52 kB / 496.2 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.3965, allocations: 208.5 kB / 496.4 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.3965, allocations: 3.281 kB / 496.4 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.3966, allocations: 6.375 kB / 496.4 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.3967, allocations: 54.2 kB / 496.5 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3968, allocations: 0 / 496.5 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.3968, allocations: 2.094 kB / 496.5 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.3968, allocations: 4 kB / 496.5 MB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.472e-05/0.3969, allocations: 22.69 kB / 496.5 MB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000408/0.3973, allocations: 288.5 kB / 496.8 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.3975, allocations: 55.94 kB / 496.8 MB, free: 16.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.551e-05/0.3976, allocations: 20.95 kB / 496.9 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.3976, allocations: 5.219 kB / 496.9 MB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/0.3978, allocations: 65.28 kB / 496.9 MB, free: 16.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.695e-06/0.3978, allocations: 0 / 496.9 MB, free: 16.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006055/0.3984, allocations: 180.1 kB / 497.1 MB, free: 16.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.3984, allocations: 53.38 kB / 497.2 MB, free: 16.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.3986, allocations: 173.3 kB / 497.3 MB, free: 16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.3986, allocations: 27.02 kB / 497.4 MB, free: 15.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.3987, allocations: 103.1 kB / 497.5 MB, free: 15.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/0.3988, allocations: 26.84 kB / 497.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.3988, allocations: 24.47 kB / 497.5 MB, free: 15.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.652e-05/0.3989, allocations: 327 kB / 497.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.334e-05/0.399, allocations: 20.12 kB / 497.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.205e-05/0.3991, allocations: 36.52 kB / 497.9 MB, free: 15.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.3992, allocations: 65.83 kB / 497.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3992, allocations: 0 / 497.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001889/0.3994, allocations: 100.2 kB / 498 MB, free: 15.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.3994, allocations: 6.484 kB / 498 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3995, allocations: 0 / 498 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.3995, allocations: 1.969 kB / 498 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.3996, allocations: 19.5 kB / 498.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.3996, allocations: 1.094 kB / 498.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.301e-05/0.3997, allocations: 15.27 kB / 498.1 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.3997, allocations: 2.719 kB / 498.1 MB, free: 15.36 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.0001044/0.3998, allocations: 126.6 kB / 498.2 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.3998, allocations: 13 kB / 498.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.957e-05/0.3999, allocations: 13.89 kB / 498.2 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.3999, allocations: 2.297 kB / 498.2 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.3999, allocations: 0 / 498.2 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.3999, allocations: 5.125 kB / 498.2 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004879/0.4004, allocations: 392.5 kB / 498.6 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.4004, allocations: 0 / 498.6 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.484e-05/0.4005, allocations: 9.484 kB / 498.6 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.4005, allocations: 1.469 kB / 498.6 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.4005, allocations: 10.25 kB / 498.6 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.4005, allocations: 2.156 kB / 498.6 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4005, allocations: 0 / 498.6 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.4008, allocations: 205.1 kB / 498.8 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-05/0.4008, allocations: 84.39 kB / 498.9 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.4008, allocations: 6.641 kB / 498.9 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.756e-05/0.4009, allocations: 6.844 kB / 498.9 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.401, allocations: 5.578 kB / 499 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.401, allocations: 3.594 kB / 499 MB, free: 14.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.4011, allocations: 137.7 kB / 499.1 MB, free: 14.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4011, allocations: 0 / 499.1 MB, free: 14.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.4014, allocations: 29.38 kB / 499.1 MB, free: 14.48 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.001086/0.4025, allocations: 462.2 kB / 499.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.4027, allocations: 64.7 kB / 499.6 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4027, allocations: 1.406 kB / 499.6 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.427e-05/0.4028, allocations: 27.69 kB / 499.7 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.4032, allocations: 35.31 kB / 499.7 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004573/0.4037, allocations: 215 kB / 499.9 MB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/0.4038, allocations: 0.7034 MB / 0.4889 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.267e-05/0.4039, allocations: 12.92 kB / 0.4889 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.4039, allocations: 17.3 kB / 0.4889 GB, free: 13.2 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4039, allocations: 0 / 0.4889 GB, free: 13.2 MB / 382.1 MB Notification: Performance of Templates: time 0.005602/0.4096, allocations: 1.72 MB / 0.4906 GB, free: 12.99 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1)