Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009057/0.009057, allocations: 104.2 kB / 15.74 MB, free: 6.488 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.001625/0.001626, allocations: 199.3 kB / 16.68 MB, free: 6.375 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.652/1.652, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.3733/0.3733, allocations: 38 MB / 307.9 MB, free: 10.08 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.001538/0.001538, allocations: 83.88 kB / 433.1 MB, free: 5.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.412, allocations: 56.45 MB / 489.5 MB, free: 19.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003451/0.4156, allocations: 1.675 MB / 491.2 MB, free: 18.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.417, allocations: 0.8133 MB / 492 MB, free: 18.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.427e-05/0.4171, allocations: 1.094 kB / 492 MB, free: 18.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003734/0.4175, allocations: 54.12 kB / 492.1 MB, free: 18.16 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.0002597/0.4177, allocations: 50.42 kB / 492.1 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.418, allocations: 92.58 kB / 492.2 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.4182, allocations: 91.53 kB / 492.3 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.4184, allocations: 19.83 kB / 492.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.875e-05/0.4185, allocations: 40.5 kB / 492.3 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.953e-05/0.4186, allocations: 26.39 kB / 492.4 MB, free: 18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.4186, allocations: 7.891 kB / 492.4 MB, free: 18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.4187, allocations: 43.08 kB / 492.4 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.074e-05/0.4188, allocations: 24.06 kB / 492.4 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.383e-05/0.4189, allocations: 46 kB / 492.5 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002841/0.4192, allocations: 138.7 kB / 492.6 MB, free: 17.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.4192, allocations: 0 / 492.6 MB, free: 17.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.4192, allocations: 5.125 kB / 492.6 MB, free: 17.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.4192, 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.0006057/0.4198, allocations: 439.9 kB / 493.1 MB, free: 17.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.4199, allocations: 13.62 kB / 493.1 MB, free: 17.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.887e-05/0.4199, allocations: 15.25 kB / 493.1 MB, free: 17.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.4203, allocations: 219.8 kB / 493.3 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.4203, allocations: 5.656 kB / 493.3 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.4203, allocations: 11.2 kB / 493.3 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.4205, allocations: 54.72 kB / 493.4 MB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.4205, allocations: 0 / 493.4 MB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.4205, allocations: 5.219 kB / 493.4 MB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.4205, allocations: 0 / 493.4 MB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.975e-05/0.4206, allocations: 18.25 kB / 493.4 MB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.421, allocations: 302.9 kB / 493.7 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.4212, allocations: 56.94 kB / 493.7 MB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.596e-05/0.4213, allocations: 27.05 kB / 493.8 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.4213, allocations: 5.25 kB / 493.8 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.4215, allocations: 61.66 kB / 493.8 MB, free: 16.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.4215, allocations: 4 kB / 493.8 MB, free: 16.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000623/0.4221, allocations: 183.7 kB / 494 MB, free: 16.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.4222, allocations: 53.06 kB / 494.1 MB, free: 16.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.4225, allocations: 273.7 kB / 494.3 MB, free: 16.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.4225, allocations: 27.91 kB / 494.4 MB, free: 16.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.569e-05/0.4226, allocations: 115.2 kB / 494.5 MB, free: 16.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.4226, allocations: 21.69 kB / 494.5 MB, free: 16.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.4227, allocations: 23.12 kB / 494.5 MB, free: 16.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.187e-05/0.4228, allocations: 336.2 kB / 494.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.399e-05/0.4228, allocations: 17.75 kB / 494.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.236e-05/0.4229, allocations: 34.81 kB / 494.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.423, allocations: 66.64 kB / 495 MB, free: 15.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.423, allocations: 0 / 495 MB, free: 15.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001841/0.4232, allocations: 107.5 kB / 495.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4233, allocations: 6.391 kB / 495.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4233, allocations: 0 / 495.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.4233, allocations: 1.406 kB / 495.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.4234, allocations: 23.8 kB / 495.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4234, allocations: 0 / 495.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.577e-05/0.4235, allocations: 7.328 kB / 495.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.4235, allocations: 3.094 kB / 495.1 MB, free: 15.81 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.0001034/0.4236, allocations: 142.7 kB / 495.2 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.4236, allocations: 19.48 kB / 495.3 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.67e-05/0.4237, allocations: 19.23 kB / 495.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.4237, allocations: 5.219 kB / 495.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4237, allocations: 4.734 kB / 495.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.4237, allocations: 3.938 kB / 495.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004363/0.4242, allocations: 404 kB / 495.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4242, allocations: 4.812 kB / 495.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.244e-05/0.4242, allocations: 8.781 kB / 495.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.4242, allocations: 5.781 kB / 495.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.4242, allocations: 6.359 kB / 495.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.4242, allocations: 0.8125 kB / 495.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4242, allocations: 5.125 kB / 495.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.4245, allocations: 202.3 kB / 495.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.049e-05/0.4245, allocations: 89.16 kB / 496 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.4245, allocations: 11.2 kB / 496 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.942e-05/0.4246, allocations: 6.531 kB / 496 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.4247, allocations: 9.891 kB / 496 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.4247, allocations: 3.453 kB / 496 MB, free: 15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002039/0.4249, allocations: 207.8 kB / 496.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4249, allocations: 0 / 496.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.4252, allocations: 27.19 kB / 496.3 MB, free: 14.88 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.001054/0.4262, allocations: 465.4 kB / 496.7 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.4264, allocations: 55.5 kB / 496.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4265, allocations: 1.125 kB / 496.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.668e-05/0.4265, allocations: 32.7 kB / 496.8 MB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.4269, allocations: 45.88 kB / 496.9 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005376/0.4275, allocations: 299.9 kB / 497.1 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/0.4277, allocations: 0.718 MB / 497.9 MB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.181e-05/0.4277, allocations: 21.19 kB / 497.9 MB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.4278, allocations: 15.8 kB / 497.9 MB, free: 13.55 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4278, allocations: 1.062 kB / 497.9 MB, free: 13.55 MB / 382.1 MB Notification: Performance of Templates: time 0.00573/0.4335, allocations: 1.736 MB / 499.6 MB, free: 13.36 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1)