Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007783/0.007784, allocations: 100.1 kB / 15.73 MB, free: 6.473 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.00135/0.00135, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.701/1.701, allocations: 205.1 MB / 222.6 MB, free: 4.531 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.3808/0.3808, allocations: 39.93 MB / 309.8 MB, free: 9.391 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.001431/0.001431, allocations: 71.88 kB / 435.8 MB, free: 2.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3229, allocations: 56.88 MB / 492.7 MB, free: 19.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003229/0.3262, allocations: 1.688 MB / 494.4 MB, free: 18.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.3275, allocations: 0.8092 MB / 495.2 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.575e-05/0.3276, allocations: 1.406 kB / 495.2 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004141/0.328, allocations: 50.62 kB / 495.3 MB, free: 17.8 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.0002863/0.3283, allocations: 62.67 kB / 495.3 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.3286, allocations: 80.95 kB / 495.4 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.3289, allocations: 94.62 kB / 495.5 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.329, allocations: 15.22 kB / 495.5 MB, free: 17.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.3291, allocations: 46.27 kB / 495.6 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.3292, allocations: 33.25 kB / 495.6 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.3293, allocations: 3.5 kB / 495.6 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.3294, allocations: 38.36 kB / 495.6 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.94e-05/0.3295, allocations: 35.97 kB / 495.7 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.243e-05/0.3296, allocations: 42.86 kB / 495.7 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.3299, allocations: 132.4 kB / 495.8 MB, free: 17.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3299, allocations: 0 / 495.8 MB, free: 17.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3299, allocations: 0 / 495.8 MB, free: 17.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.3299, allocations: 1.219 kB / 495.8 MB, free: 17.51 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.0006216/0.3305, allocations: 442.3 kB / 496.3 MB, free: 17.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.3306, allocations: 17.7 kB / 496.3 MB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.183e-05/0.3306, allocations: 11.38 kB / 496.3 MB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.3309, allocations: 226.3 kB / 496.5 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.331, allocations: 1.719 kB / 496.5 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.331, allocations: 6.094 kB / 496.5 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.3311, allocations: 55.45 kB / 496.6 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.3312, allocations: 3.906 kB / 496.6 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.3312, allocations: 1.031 kB / 496.6 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.3312, allocations: 1.688 kB / 496.6 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.907e-05/0.3313, allocations: 25.31 kB / 496.6 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.3317, allocations: 293.3 kB / 496.9 MB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.3319, allocations: 57.17 kB / 497 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.711e-05/0.332, allocations: 18.64 kB / 497 MB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.332, allocations: 5.344 kB / 497 MB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.3322, allocations: 74.56 kB / 497.1 MB, free: 16.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.3322, allocations: 0 / 497.1 MB, free: 16.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006334/0.3328, allocations: 178.7 kB / 497.2 MB, free: 16.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.3329, allocations: 53.33 kB / 497.3 MB, free: 16.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.3332, allocations: 258.5 kB / 497.5 MB, free: 16.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.3332, allocations: 31.02 kB / 497.6 MB, free: 16.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.3333, allocations: 126.6 kB / 497.7 MB, free: 15.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.3333, allocations: 18.81 kB / 497.7 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.183e-05/0.3334, allocations: 21.03 kB / 497.7 MB, free: 15.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.835e-05/0.3335, allocations: 332.4 kB / 498.1 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.487e-05/0.3336, allocations: 18.53 kB / 498.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.043e-05/0.3336, allocations: 35.75 kB / 498.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.3338, allocations: 65.58 kB / 498.2 MB, free: 15.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3338, allocations: 0 / 498.2 MB, free: 15.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001818/0.334, allocations: 98.89 kB / 498.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.334, allocations: 9.344 kB / 498.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.334, allocations: 2.141 kB / 498.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.334, allocations: 5.562 kB / 498.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.001e-05/0.3341, allocations: 18.39 kB / 498.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.3341, allocations: 1.219 kB / 498.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.801e-05/0.3342, allocations: 11.22 kB / 498.3 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.3342, allocations: 7.203 kB / 498.3 MB, free: 15.43 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 9.141e-05/0.3343, allocations: 133.8 kB / 498.5 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.3343, allocations: 13.88 kB / 498.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.85e-05/0.3344, allocations: 19.53 kB / 498.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3344, allocations: 1.125 kB / 498.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3344, allocations: 0 / 498.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3344, allocations: 4.969 kB / 498.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004304/0.3348, allocations: 410.4 kB / 498.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3348, allocations: 1.188 kB / 498.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.45e-05/0.3349, allocations: 12.45 kB / 498.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.3349, allocations: 0.5156 kB / 498.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.3349, allocations: 6.625 kB / 498.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3349, allocations: 1.094 kB / 498.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3349, allocations: 2.109 kB / 498.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.3351, allocations: 205.3 kB / 499.1 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.3352, allocations: 90.48 kB / 499.2 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.3352, allocations: 10.19 kB / 499.2 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.476e-05/0.3353, allocations: 11.17 kB / 499.2 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.3353, allocations: 8.828 kB / 499.2 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.3354, allocations: 4.562 kB / 499.2 MB, free: 14.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001688/0.3355, allocations: 201.2 kB / 499.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3355, allocations: 0 / 499.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.3358, allocations: 30.84 kB / 499.5 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.0009916/0.3368, allocations: 465.3 kB / 499.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.337, allocations: 65.05 kB / 500 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.337, allocations: 0 / 500 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.219e-05/0.3371, allocations: 24.78 kB / 0.4883 GB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.3375, allocations: 30.09 kB / 0.4883 GB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005576/0.3381, allocations: 285.1 kB / 0.4886 GB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.3383, allocations: 0.7201 MB / 0.4893 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.823e-05/0.3384, allocations: 18 kB / 0.4893 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.525e-05/0.3384, allocations: 16.27 kB / 0.4893 GB, free: 13.2 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3384, allocations: 3.938 kB / 0.4893 GB, free: 13.19 MB / 382.1 MB Notification: Performance of Templates: time 0.005408/0.3439, allocations: 1.726 MB / 0.491 GB, free: 13 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1)