Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008362/0.008363, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001204/0.001204, allocations: 201.5 kB / 16.68 MB, free: 5.973 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.734/1.734, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.4/0.4, allocations: 38 MB / 307.9 MB, free: 10.09 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.001521/0.001521, allocations: 71.91 kB / 433.1 MB, free: 5.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3898, allocations: 56.46 MB / 489.5 MB, free: 19.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003559/0.3934, allocations: 1.67 MB / 491.2 MB, free: 18.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.3952, allocations: 0.8056 MB / 492 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.914e-05/0.3953, allocations: 1.344 kB / 492 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003987/0.3957, allocations: 46.7 kB / 492 MB, free: 18.2 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.0002494/0.396, allocations: 46.47 kB / 492.1 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.3963, allocations: 87.98 kB / 492.2 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.3965, allocations: 99.95 kB / 492.3 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.3967, allocations: 11.3 kB / 492.3 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.3968, allocations: 45.23 kB / 492.3 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.3969, allocations: 25.42 kB / 492.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.397, allocations: 3.438 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.3971, allocations: 48.03 kB / 492.4 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.621e-05/0.3972, allocations: 17.92 kB / 492.4 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.294e-05/0.3973, allocations: 33.52 kB / 492.4 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003076/0.3976, allocations: 125.3 kB / 492.6 MB, free: 17.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.3976, allocations: 4 kB / 492.6 MB, free: 17.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3976, allocations: 0 / 492.6 MB, free: 17.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.3977, allocations: 1.156 kB / 492.6 MB, free: 17.93 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.0007068/0.3984, allocations: 410.3 kB / 493 MB, free: 17.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/0.3984, allocations: 17.17 kB / 493 MB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.469e-05/0.3985, allocations: 14.5 kB / 493 MB, free: 17.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003887/0.3989, allocations: 211.7 kB / 493.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.3989, allocations: 5.344 kB / 493.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.399, allocations: 7.078 kB / 493.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.3992, allocations: 58.81 kB / 493.3 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.3992, allocations: 0 / 493.3 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.3993, allocations: 1.906 kB / 493.3 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3993, allocations: 0 / 493.3 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.832e-05/0.3994, allocations: 18.55 kB / 493.3 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/0.3999, allocations: 287.3 kB / 493.6 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.4002, allocations: 59.81 kB / 493.6 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.137e-05/0.4002, allocations: 20.83 kB / 493.7 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.066e-05/0.4003, allocations: 1.062 kB / 493.7 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/0.4005, allocations: 69.27 kB / 493.7 MB, free: 16.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.4005, allocations: 5.062 kB / 493.7 MB, free: 16.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007734/0.4013, allocations: 171.8 kB / 493.9 MB, free: 16.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.4014, allocations: 54.59 kB / 494 MB, free: 16.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/0.4017, allocations: 193.2 kB / 494.1 MB, free: 16.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.4017, allocations: 30.83 kB / 494.2 MB, free: 16.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.312e-05/0.4018, allocations: 100.4 kB / 494.3 MB, free: 16.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.499e-05/0.4018, allocations: 31.06 kB / 494.3 MB, free: 16.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.224e-05/0.4019, allocations: 20.95 kB / 494.3 MB, free: 16.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.43e-05/0.402, allocations: 334.1 kB / 494.7 MB, free: 16.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.132e-05/0.402, allocations: 18.28 kB / 494.7 MB, free: 16.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.697e-05/0.4021, allocations: 43.69 kB / 494.7 MB, free: 16.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.4022, allocations: 57.84 kB / 494.8 MB, free: 16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4023, allocations: 0 / 494.8 MB, free: 16 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001985/0.4025, allocations: 101.6 kB / 494.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.4025, allocations: 9.781 kB / 494.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.4025, allocations: 1.125 kB / 494.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.4025, allocations: 1.344 kB / 494.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.768e-05/0.4026, allocations: 14.83 kB / 494.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.4026, allocations: 5.094 kB / 494.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.926e-05/0.4027, allocations: 15.3 kB / 494.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.4027, allocations: 3.062 kB / 494.9 MB, free: 15.92 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 8.701e-05/0.4028, allocations: 130.9 kB / 495 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.4028, allocations: 17.61 kB / 495.1 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.195e-05/0.4029, allocations: 16.52 kB / 495.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.4029, allocations: 1.031 kB / 495.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4029, allocations: 0 / 495.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4029, allocations: 5.438 kB / 495.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003985/0.4033, allocations: 390.7 kB / 495.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4033, allocations: 1.062 kB / 495.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.337e-05/0.4034, allocations: 9.078 kB / 495.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.4034, allocations: 1.156 kB / 495.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.4034, allocations: 9.609 kB / 495.5 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.4034, allocations: 1.734 kB / 495.5 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4034, allocations: 1.156 kB / 495.5 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.4036, allocations: 204 kB / 495.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.069e-05/0.4036, allocations: 84.75 kB / 495.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.4037, allocations: 7.344 kB / 495.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.985e-05/0.4037, allocations: 10.73 kB / 495.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.4038, allocations: 4.781 kB / 495.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.4038, allocations: 5.297 kB / 495.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001347/0.404, allocations: 155.4 kB / 496 MB, free: 15.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.404, allocations: 0 / 496 MB, free: 15.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.4042, allocations: 22.42 kB / 496 MB, free: 15.03 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.001139/0.4054, allocations: 477 kB / 496.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.4056, allocations: 68.39 kB / 496.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4056, allocations: 0 / 496.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.322e-05/0.4057, allocations: 28.52 kB / 496.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.4061, allocations: 39.05 kB / 496.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005502/0.4067, allocations: 229 kB / 496.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.4069, allocations: 0.7061 MB / 497.5 MB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.685e-05/0.407, allocations: 18.09 kB / 497.5 MB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.195e-05/0.407, allocations: 20.59 kB / 497.5 MB, free: 13.72 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.407, allocations: 0 / 497.5 MB, free: 13.72 MB / 382.1 MB Notification: Performance of Templates: time 0.00546/0.4125, allocations: 1.704 MB / 499.2 MB, free: 13.53 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1)