Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test89.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test89") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009593/0.0009594, allocations: 199.3 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.218/1.218, allocations: 226.5 MB / 243.4 MB, free: 6.445 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007777/0.0007777, allocations: 88.69 kB / 295.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3171/0.3171, allocations: 44.81 MB / 392.3 MB, free: 35.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003236/0.0003236, allocations: 12 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3167, allocations: 62.95 MB / 0.5159 GB, free: 37.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.001914/0.3186, allocations: 1.433 MB / 0.5173 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.3205, allocations: 1.527 MB / 0.5188 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.996e-05/0.3206, allocations: 0 / 0.5188 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002778/0.3209, allocations: 40.77 kB / 0.5188 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002756/0.3212, allocations: 79.55 kB / 0.5189 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.3215, allocations: 94.52 kB / 0.519 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.3216, allocations: 96.64 kB / 0.5191 GB, free: 34.92 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.841e-05/0.3218, allocations: 10.31 kB / 0.5191 GB, free: 34.92 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.323e-05/0.3218, allocations: 35.41 kB / 0.5191 GB, free: 34.9 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.322, allocations: 43.97 kB / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.322, allocations: 6.688 kB / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.3222, allocations: 94.41 kB / 0.5193 GB, free: 34.85 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.956e-05/0.3223, allocations: 17.16 kB / 0.5193 GB, free: 34.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.45e-05/0.3223, allocations: 61.73 kB / 0.5193 GB, free: 34.79 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.3225, allocations: 117.5 kB / 0.5194 GB, free: 34.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3225, allocations: 0 / 0.5194 GB, free: 34.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3225, allocations: 0 / 0.5194 GB, free: 34.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.3225, allocations: 0 / 0.5194 GB, free: 34.75 MB / 378.7 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.0004665/0.323, allocations: 416.3 kB / 0.5198 GB, free: 34.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.323, allocations: 7.875 kB / 0.5198 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.3231, allocations: 14.72 kB / 0.5199 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.3233, allocations: 221.8 kB / 0.5201 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.3233, allocations: 7.938 kB / 0.5201 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.3234, allocations: 3 kB / 0.5201 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.3235, allocations: 64.5 kB / 0.5201 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3235, allocations: 3.281 kB / 0.5201 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.3236, allocations: 0 / 0.5201 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3236, allocations: 2.781 kB / 0.5201 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.829e-05/0.3236, allocations: 16.09 kB / 0.5202 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.324, allocations: 292.9 kB / 0.5204 GB, free: 33.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.3241, allocations: 54.66 kB / 0.5205 GB, free: 33.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.53e-05/0.3242, allocations: 20.73 kB / 0.5205 GB, free: 33.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.3242, allocations: 0 / 0.5205 GB, free: 33.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.3244, allocations: 68.67 kB / 0.5206 GB, free: 33.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.104e-06/0.3244, allocations: 0 / 0.5206 GB, free: 33.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004787/0.3249, allocations: 176.7 kB / 0.5207 GB, free: 33.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.3249, allocations: 83.86 kB / 0.5208 GB, free: 33.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.325, allocations: 167.5 kB / 0.521 GB, free: 33.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.3251, allocations: 36.48 kB / 0.521 GB, free: 33.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.3251, allocations: 98.98 kB / 0.5211 GB, free: 33.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.3251, allocations: 25.91 kB / 0.5211 GB, free: 33.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.3251, allocations: 7 kB / 0.5211 GB, free: 33.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.012e-05/0.3252, allocations: 321 kB / 0.5215 GB, free: 32.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.902e-05/0.3253, allocations: 18.31 kB / 0.5215 GB, free: 32.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.415e-05/0.3253, allocations: 37.67 kB / 0.5215 GB, free: 32.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.48e-05/0.3254, allocations: 66.59 kB / 0.5216 GB, free: 32.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3254, allocations: 0 / 0.5216 GB, free: 32.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001565/0.3256, allocations: 102.4 kB / 0.5217 GB, free: 32.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.3256, allocations: 5.594 kB / 0.5217 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3256, allocations: 0 / 0.5217 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.3256, allocations: 0 / 0.5217 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.169e-05/0.3257, allocations: 20.97 kB / 0.5217 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.3257, allocations: 7.25 kB / 0.5217 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.205e-05/0.3258, allocations: 2.969 kB / 0.5217 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.3258, allocations: 7.188 kB / 0.5217 GB, free: 32.7 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.452e-05/0.3259, allocations: 121.9 kB / 0.5218 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.3259, allocations: 18.09 kB / 0.5218 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.728e-05/0.326, allocations: 14.62 kB / 0.5219 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.326, allocations: 0 / 0.5219 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.326, allocations: 3.938 kB / 0.5219 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.326, allocations: 0 / 0.5219 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003474/0.3263, allocations: 402.2 kB / 0.5222 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3263, allocations: 0 / 0.5222 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.187e-05/0.3264, allocations: 16.19 kB / 0.5223 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3264, allocations: 0 / 0.5223 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.3264, allocations: 2.938 kB / 0.5223 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3264, allocations: 0 / 0.5223 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3264, allocations: 0 / 0.5223 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.3266, allocations: 210.7 kB / 0.5225 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.3266, allocations: 95.06 kB / 0.5226 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.3267, allocations: 2.812 kB / 0.5226 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.485e-05/0.3267, allocations: 2.906 kB / 0.5226 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.3268, allocations: 10.31 kB / 0.5226 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.3268, allocations: 6.781 kB / 0.5226 GB, free: 31.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.15e-05/0.3269, allocations: 128.5 kB / 0.5227 GB, free: 31.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3269, allocations: 0 / 0.5227 GB, free: 31.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000267/0.3272, allocations: 39.19 kB / 0.5227 GB, free: 31.81 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001047/0.3282, allocations: 0.5527 MB / 0.5233 GB, free: 31.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001577/0.3284, allocations: 53.67 kB / 0.5233 GB, free: 31.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3284, allocations: 0 / 0.5233 GB, free: 31.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.416e-05/0.3285, allocations: 37.88 kB / 0.5234 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.3288, allocations: 25.8 kB / 0.5234 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.3292, allocations: 245.8 kB / 0.5236 GB, free: 31.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/0.3293, allocations: 0.6969 MB / 0.5243 GB, free: 30.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.3294, allocations: 26.09 kB / 0.5243 GB, free: 30.58 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3294, allocations: 0 / 0.5243 GB, free: 30.58 MB / 378.7 MB Notification: Performance of Templates: time 0.003571/0.333, allocations: 2.389 MB / 0.5267 GB, free: 30.31 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test89.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test89 --alarm=480 > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1)