Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006587/0.006587, allocations: 100.1 kB / 15.73 MB, free: 6.48 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.001275/0.001275, allocations: 195.6 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.715/1.715, allocations: 205.1 MB / 222.6 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.3779/0.3779, allocations: 38 MB / 307.9 MB, free: 9.977 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.003203/0.003203, allocations: 75.91 kB / 433.1 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3743, allocations: 56.45 MB / 489.5 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.004567/0.379, allocations: 1.677 MB / 491.2 MB, free: 18.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002334/0.3814, allocations: 0.8131 MB / 492 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.3816, allocations: 0.9688 kB / 492 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006359/0.3823, allocations: 46.66 kB / 492 MB, free: 18.14 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.0004555/0.3827, allocations: 56.36 kB / 492.1 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004755/0.3832, allocations: 84.86 kB / 492.2 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002616/0.3835, allocations: 94.58 kB / 492.3 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.3837, allocations: 15.75 kB / 492.3 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.3838, allocations: 37.39 kB / 492.3 MB, free: 18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.3839, allocations: 34.12 kB / 492.4 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.384, allocations: 3.5 kB / 492.4 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.3841, allocations: 43.42 kB / 492.4 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.324e-05/0.3842, allocations: 29.02 kB / 492.4 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.8e-05/0.3843, allocations: 34.45 kB / 492.5 MB, free: 17.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.3845, allocations: 124.3 kB / 492.6 MB, free: 17.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3846, allocations: 4 kB / 492.6 MB, free: 17.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3846, allocations: 0 / 492.6 MB, free: 17.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.3846, allocations: 0 / 492.6 MB, free: 17.88 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.0005779/0.3852, allocations: 421.8 kB / 493 MB, free: 17.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3852, allocations: 12.7 kB / 493 MB, free: 17.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.746e-05/0.3853, allocations: 15.34 kB / 493 MB, free: 17.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.3856, allocations: 212.6 kB / 493.2 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.3856, allocations: 5.812 kB / 493.2 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.3856, allocations: 10.16 kB / 493.3 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.3858, allocations: 54.42 kB / 493.3 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.3858, allocations: 5.094 kB / 493.3 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.3858, allocations: 4 kB / 493.3 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.3859, allocations: 2.328 kB / 493.3 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.343e-05/0.386, allocations: 16.64 kB / 493.3 MB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000626/0.3866, allocations: 294.2 kB / 493.6 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.3868, allocations: 60.8 kB / 493.7 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.173e-05/0.387, allocations: 23.95 kB / 493.7 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.744e-05/0.387, allocations: 1.281 kB / 493.7 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002264/0.3872, allocations: 74 kB / 493.8 MB, free: 16.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.964e-06/0.3873, allocations: 0 / 493.8 MB, free: 16.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008497/0.3881, allocations: 173.2 kB / 493.9 MB, free: 16.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/0.3882, allocations: 53.11 kB / 494 MB, free: 16.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003619/0.3886, allocations: 220.3 kB / 494.2 MB, free: 16.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.3886, allocations: 30.41 kB / 494.2 MB, free: 16.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.75e-05/0.3887, allocations: 110 kB / 494.4 MB, free: 16.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.85e-05/0.3888, allocations: 21.53 kB / 494.4 MB, free: 16.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/0.3888, allocations: 27.39 kB / 494.4 MB, free: 16.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.389, allocations: 329.1 kB / 494.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.817e-05/0.3891, allocations: 18.64 kB / 494.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.517e-05/0.3892, allocations: 43.08 kB / 494.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.3893, allocations: 57.03 kB / 494.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3893, allocations: 5.031 kB / 494.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001872/0.3895, allocations: 101.4 kB / 494.9 MB, free: 15.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3895, allocations: 5.562 kB / 494.9 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3895, allocations: 1.156 kB / 494.9 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.3895, allocations: 1.625 kB / 495 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.775e-05/0.3896, allocations: 18.95 kB / 495 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.3897, allocations: 1.031 kB / 495 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.007e-05/0.3897, allocations: 7.203 kB / 495 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.3897, allocations: 3.875 kB / 495 MB, free: 15.84 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.0001048/0.3898, allocations: 137.3 kB / 495.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.485e-05/0.3899, allocations: 14.75 kB / 495.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.392e-05/0.39, allocations: 16.34 kB / 495.1 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.39, allocations: 1.062 kB / 495.1 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.39, allocations: 4 kB / 495.2 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.39, allocations: 5.844 kB / 495.2 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004797/0.3905, allocations: 401.8 kB / 495.5 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3905, allocations: 4.875 kB / 495.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.639e-05/0.3905, allocations: 8.875 kB / 495.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.3906, allocations: 0.75 kB / 495.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.3906, allocations: 7.328 kB / 495.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3906, allocations: 0 / 495.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3906, allocations: 1.5 kB / 495.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.3908, allocations: 205.5 kB / 495.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.3909, allocations: 89.34 kB / 495.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/0.3909, allocations: 9.734 kB / 495.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.792e-05/0.391, allocations: 7.453 kB / 495.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.3911, allocations: 5.359 kB / 495.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.3911, allocations: 4.203 kB / 495.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001677/0.3913, allocations: 171.3 kB / 496.1 MB, free: 14.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3913, allocations: 1.094 kB / 496.1 MB, free: 14.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000271/0.3915, allocations: 25.95 kB / 496.1 MB, free: 14.93 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.001193/0.3927, allocations: 471.3 kB / 496.5 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002189/0.393, allocations: 59.14 kB / 496.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.393, allocations: 0 / 496.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.882e-05/0.3931, allocations: 36.81 kB / 496.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.3935, allocations: 31.27 kB / 496.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005901/0.3941, allocations: 251.9 kB / 496.9 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.3943, allocations: 0.7108 MB / 497.6 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.177e-05/0.3944, allocations: 21.72 kB / 497.6 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.211e-05/0.3944, allocations: 16.05 kB / 497.7 MB, free: 13.63 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3944, allocations: 0 / 497.7 MB, free: 13.63 MB / 382.1 MB Notification: Performance of Templates: time 0.005864/0.4003, allocations: 1.748 MB / 499.4 MB, free: 13.42 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1)