Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.009677/0.009677, allocations: 103 kB / 15.73 MB, free: 6.035 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.002736/0.002736, allocations: 190 kB / 16.67 MB, free: 5.965 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.519/1.519, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.3818/0.3818, allocations: 38 MB / 307.9 MB, free: 10.1 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.001574/0.001574, allocations: 67.91 kB / 433.1 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.4105, allocations: 56.45 MB / 489.5 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003568/0.4142, allocations: 1.669 MB / 491.2 MB, free: 18.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.4158, allocations: 0.8143 MB / 492 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.723e-05/0.4159, allocations: 0 / 492 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.4162, allocations: 54.19 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.0002849/0.4165, allocations: 59.08 kB / 492.1 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.4168, allocations: 84.42 kB / 492.2 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.4171, allocations: 95.34 kB / 492.3 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.4172, allocations: 11.77 kB / 492.3 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.4173, allocations: 42.36 kB / 492.3 MB, free: 18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.773e-05/0.4174, allocations: 29.23 kB / 492.4 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.4174, allocations: 7.812 kB / 492.4 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.4176, allocations: 43.08 kB / 492.4 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.74e-05/0.4177, allocations: 31.94 kB / 492.4 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.264e-05/0.4177, allocations: 42.19 kB / 492.5 MB, free: 17.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.418, allocations: 133.1 kB / 492.6 MB, free: 17.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.418, allocations: 0 / 492.6 MB, free: 17.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.418, allocations: 1.125 kB / 492.6 MB, free: 17.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.418, allocations: 0 / 492.6 MB, free: 17.87 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.0005623/0.4186, allocations: 434.4 kB / 493 MB, free: 17.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.4186, allocations: 12.92 kB / 493 MB, free: 17.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.4187, allocations: 19.34 kB / 493.1 MB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.419, allocations: 227.2 kB / 493.3 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.419, allocations: 5.812 kB / 493.3 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.4191, allocations: 5.75 kB / 493.3 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.4192, allocations: 58.03 kB / 493.4 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.4193, allocations: 4.688 kB / 493.4 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.4193, allocations: 0.9375 kB / 493.4 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.4193, allocations: 1.156 kB / 493.4 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.134e-05/0.4194, allocations: 17.66 kB / 493.4 MB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.4198, allocations: 298 kB / 493.7 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.4199, allocations: 56.81 kB / 493.7 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.64e-05/0.42, allocations: 24.36 kB / 493.8 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.4201, allocations: 1.281 kB / 493.8 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/0.4202, allocations: 69.05 kB / 493.8 MB, free: 16.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.4203, allocations: 0 / 493.8 MB, free: 16.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006878/0.4209, allocations: 183.6 kB / 494 MB, free: 16.65 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.421, allocations: 56.52 kB / 494.1 MB, free: 16.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/0.4214, allocations: 258.7 kB / 494.3 MB, free: 16.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.4214, allocations: 31.52 kB / 494.3 MB, free: 16.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.47e-05/0.4215, allocations: 119.5 kB / 494.5 MB, free: 16.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.984e-05/0.4216, allocations: 21.67 kB / 494.5 MB, free: 16.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.02e-05/0.4216, allocations: 21.38 kB / 494.5 MB, free: 16.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4218, allocations: 332.2 kB / 494.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.137e-05/0.4219, allocations: 17.92 kB / 494.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.228e-05/0.422, allocations: 39.02 kB / 494.9 MB, free: 15.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.4221, allocations: 61.33 kB / 494.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4221, allocations: 1.281 kB / 494.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002154/0.4224, allocations: 102.4 kB / 495 MB, free: 15.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.4224, allocations: 9.375 kB / 495 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.4224, allocations: 1.859 kB / 495.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.4224, allocations: 0 / 495.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.4226, allocations: 16.25 kB / 495.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.4226, allocations: 2.016 kB / 495.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.961e-05/0.4227, allocations: 9.828 kB / 495.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.4227, allocations: 6.969 kB / 495.1 MB, free: 15.79 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.0001242/0.4228, allocations: 140.8 kB / 495.2 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.4229, allocations: 15.38 kB / 495.2 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.653e-05/0.4229, allocations: 18.73 kB / 495.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4229, allocations: 1.219 kB / 495.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4229, allocations: 4 kB / 495.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4229, allocations: 5.594 kB / 495.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005662/0.4235, allocations: 409.8 kB / 495.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.4235, allocations: 1.906 kB / 495.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.682e-05/0.4236, allocations: 11.83 kB / 495.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4236, allocations: 1.094 kB / 495.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.4236, allocations: 6.562 kB / 495.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.4236, allocations: 1.922 kB / 495.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4236, allocations: 1.281 kB / 495.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.4239, allocations: 213.5 kB / 495.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.796e-05/0.4239, allocations: 89.2 kB / 496 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.424, allocations: 6.344 kB / 496 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.1e-05/0.4241, allocations: 3.5 kB / 496 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.4241, allocations: 9.453 kB / 496 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.4241, allocations: 3.953 kB / 496 MB, free: 14.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002497/0.4244, allocations: 191.6 kB / 496.2 MB, free: 14.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4244, allocations: 0 / 496.2 MB, free: 14.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002954/0.4247, allocations: 22.88 kB / 496.2 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.001213/0.4259, allocations: 471.4 kB / 496.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002415/0.4262, allocations: 60.16 kB / 496.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4262, allocations: 4.062 kB / 496.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.4263, allocations: 32.14 kB / 496.8 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.4267, allocations: 42.91 kB / 496.8 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007006/0.4275, allocations: 277 kB / 497.1 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.4277, allocations: 0.7162 MB / 497.8 MB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.296e-05/0.4278, allocations: 24.62 kB / 497.8 MB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.4278, allocations: 21.39 kB / 497.8 MB, free: 13.55 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4278, allocations: 0 / 497.8 MB, free: 13.55 MB / 382.1 MB Notification: Performance of Templates: time 0.006738/0.4346, allocations: 1.754 MB / 499.6 MB, free: 13.34 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1)