Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01097/0.01097, allocations: 104.1 kB / 15.74 MB, free: 5.984 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.001834/0.001834, allocations: 197.8 kB / 16.68 MB, free: 5.91 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.663/1.663, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.379/0.379, allocations: 39.94 MB / 309.8 MB, free: 9.406 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.001618/0.001618, allocations: 71.91 kB / 435.8 MB, free: 2.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3233, allocations: 56.88 MB / 492.7 MB, free: 19.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002868/0.3262, allocations: 1.695 MB / 494.4 MB, free: 18.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.3275, allocations: 0.8012 MB / 495.2 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.46e-05/0.3275, allocations: 3.938 kB / 495.2 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003019/0.3279, allocations: 42.02 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.0002202/0.3281, allocations: 57.72 kB / 495.3 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.3283, allocations: 76.94 kB / 495.4 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.3285, allocations: 98.77 kB / 495.5 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.886e-05/0.3286, allocations: 15.73 kB / 495.5 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.509e-05/0.3287, allocations: 43.19 kB / 495.5 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.101e-05/0.3288, allocations: 29.34 kB / 495.6 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.3288, allocations: 3.938 kB / 495.6 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.329, allocations: 37.97 kB / 495.6 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.853e-05/0.3291, allocations: 27.53 kB / 495.6 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.5e-05/0.3291, allocations: 37.8 kB / 495.7 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.3294, allocations: 117 kB / 495.8 MB, free: 17.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3294, allocations: 0 / 495.8 MB, free: 17.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3294, allocations: 0 / 495.8 MB, free: 17.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.3294, allocations: 0 / 495.8 MB, free: 17.48 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.0006177/0.33, allocations: 423.2 kB / 496.2 MB, free: 17.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.3301, allocations: 13.89 kB / 496.2 MB, free: 17.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.3301, allocations: 12.84 kB / 496.2 MB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.3304, allocations: 216.5 kB / 496.4 MB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.3304, allocations: 1.562 kB / 496.4 MB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.3305, allocations: 10.97 kB / 496.5 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.3307, allocations: 50.25 kB / 496.5 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.3307, allocations: 0 / 496.5 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.3307, allocations: 5.5 kB / 496.5 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.3307, allocations: 0.6094 kB / 496.5 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.565e-05/0.3308, allocations: 17.81 kB / 496.5 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.3312, allocations: 287.2 kB / 496.8 MB, free: 16.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.3315, allocations: 65.22 kB / 496.9 MB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.116e-05/0.3315, allocations: 19.98 kB / 496.9 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.3316, allocations: 2.109 kB / 496.9 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.3317, allocations: 73.69 kB / 497 MB, free: 16.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.3317, allocations: 0 / 497 MB, free: 16.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000612/0.3324, allocations: 172.5 kB / 497.1 MB, free: 16.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.3324, allocations: 53.58 kB / 497.2 MB, free: 16.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.3326, allocations: 197.7 kB / 497.4 MB, free: 16.1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.3327, allocations: 27.3 kB / 497.4 MB, free: 16.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.3327, allocations: 103.9 kB / 497.5 MB, free: 15.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.3328, allocations: 22.75 kB / 497.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.3328, allocations: 30.16 kB / 497.6 MB, free: 15.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.31e-05/0.3329, allocations: 329.4 kB / 497.9 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.887e-05/0.3329, allocations: 21.5 kB / 497.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.261e-05/0.333, allocations: 35.67 kB / 497.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.3331, allocations: 54.11 kB / 498 MB, free: 15.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3331, allocations: 3.938 kB / 498 MB, free: 15.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001761/0.3333, allocations: 113.8 kB / 498.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3333, allocations: 5.531 kB / 498.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3334, allocations: 80 / 498.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.3334, allocations: 1.312 kB / 498.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.751e-05/0.3335, allocations: 15.62 kB / 498.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.3335, allocations: 5.297 kB / 498.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.398e-05/0.3336, allocations: 11.36 kB / 498.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.3336, allocations: 3.266 kB / 498.2 MB, free: 15.45 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.886e-05/0.3337, allocations: 130.5 kB / 498.3 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.119e-05/0.3337, allocations: 9.297 kB / 498.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.272e-05/0.3337, allocations: 16.67 kB / 498.3 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3337, allocations: 5.344 kB / 498.3 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3338, allocations: 0 / 498.3 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3338, allocations: 4.875 kB / 498.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003998/0.3342, allocations: 391.1 kB / 498.7 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3342, allocations: 1.844 kB / 498.7 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.284e-05/0.3342, allocations: 12.7 kB / 498.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3342, allocations: 0 / 498.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.3342, allocations: 8.406 kB / 498.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3343, allocations: 384 / 498.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3343, allocations: 1.312 kB / 498.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.3345, allocations: 204.5 kB / 498.9 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/0.3345, allocations: 88.67 kB / 499 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.3345, allocations: 18.38 kB / 499 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.627e-05/0.3346, allocations: 3.844 kB / 499 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.3347, allocations: 4.828 kB / 499 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.3347, allocations: 4.156 kB / 499 MB, free: 14.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.3348, allocations: 151.1 kB / 499.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3348, allocations: 1.281 kB / 499.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.3351, allocations: 21.33 kB / 499.2 MB, free: 14.57 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.0009837/0.3361, allocations: 474.5 kB / 499.7 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.3363, allocations: 59.48 kB / 499.7 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3363, allocations: 0 / 499.7 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.536e-05/0.3364, allocations: 34.25 kB / 499.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.3367, allocations: 33.45 kB / 499.8 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000451/0.3372, allocations: 230.5 kB / 0.4883 GB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.3373, allocations: 0.7027 MB / 0.489 GB, free: 13.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.374e-05/0.3374, allocations: 20.94 kB / 0.489 GB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.801e-05/0.3374, allocations: 16.11 kB / 0.489 GB, free: 13.27 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.3374, allocations: 0 / 0.489 GB, free: 13.27 MB / 382.1 MB Notification: Performance of Templates: time 0.005036/0.3425, allocations: 1.741 MB / 0.4907 GB, free: 13.05 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1)