Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007748/0.007748, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.001234/0.001234, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.535/1.535, allocations: 205.1 MB / 222.6 MB, free: 4.375 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.4064/0.4064, allocations: 39.94 MB / 309.8 MB, free: 9.629 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.003196/0.003196, allocations: 79.91 kB / 435.8 MB, free: 2.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4075, allocations: 56.87 MB / 492.7 MB, free: 19.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003645/0.4112, allocations: 1.69 MB / 494.4 MB, free: 18.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.4128, allocations: 0.8067 MB / 495.2 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.205e-05/0.4129, allocations: 1.406 kB / 495.2 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003639/0.4133, allocations: 40.66 kB / 495.3 MB, free: 17.79 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.0002459/0.4136, allocations: 47.2 kB / 495.3 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.4139, allocations: 81.75 kB / 495.4 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.4141, allocations: 90.12 kB / 495.5 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.4142, allocations: 29.09 kB / 495.5 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.165e-05/0.4143, allocations: 41.67 kB / 495.5 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.528e-05/0.4144, allocations: 24.03 kB / 495.6 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.4144, allocations: 3.406 kB / 495.6 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.4145, allocations: 47.34 kB / 495.6 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.425e-05/0.4145, allocations: 16.12 kB / 495.6 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.991e-05/0.4146, allocations: 28.62 kB / 495.7 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.4148, allocations: 108.3 kB / 495.8 MB, free: 17.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4148, allocations: 0.6562 kB / 495.8 MB, free: 17.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4148, allocations: 0 / 495.8 MB, free: 17.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.4149, allocations: 0 / 495.8 MB, free: 17.55 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.0005566/0.4154, allocations: 402.2 kB / 496.2 MB, free: 17.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.4155, allocations: 17.08 kB / 496.2 MB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.4155, allocations: 9.625 kB / 496.2 MB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.4158, allocations: 211.1 kB / 496.4 MB, free: 16.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.4158, allocations: 5.469 kB / 496.4 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.4158, allocations: 6.656 kB / 496.4 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.416, allocations: 54.45 kB / 496.5 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.416, allocations: 4 kB / 496.5 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.416, allocations: 0 / 496.5 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.4161, allocations: 1.438 kB / 496.5 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.018e-05/0.4161, allocations: 21.25 kB / 496.5 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003205/0.4165, allocations: 279.6 kB / 496.8 MB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.4167, allocations: 56.95 kB / 496.8 MB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.66e-05/0.4167, allocations: 25.3 kB / 496.8 MB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.4168, allocations: 0 / 496.8 MB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001875/0.417, allocations: 73.78 kB / 496.9 MB, free: 16.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.417, allocations: 0 / 496.9 MB, free: 16.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005861/0.4176, allocations: 172.6 kB / 497.1 MB, free: 16.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.4176, allocations: 56.05 kB / 497.1 MB, free: 16.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.4178, allocations: 168.8 kB / 497.3 MB, free: 16.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.4178, allocations: 26.58 kB / 497.3 MB, free: 16.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.435e-05/0.4178, allocations: 98.36 kB / 497.4 MB, free: 16.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.4179, allocations: 30.95 kB / 497.4 MB, free: 16.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.4179, allocations: 22.33 kB / 497.5 MB, free: 16.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.403e-05/0.418, allocations: 325 kB / 497.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.953e-05/0.4181, allocations: 16.69 kB / 497.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.067e-05/0.4181, allocations: 39.56 kB / 497.8 MB, free: 15.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.4182, allocations: 62.2 kB / 497.9 MB, free: 15.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-06/0.4183, allocations: 0 / 497.9 MB, free: 15.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001804/0.4184, allocations: 98.09 kB / 498 MB, free: 15.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.4185, allocations: 5.125 kB / 498 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4185, allocations: 0 / 498 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.4185, allocations: 5.156 kB / 498 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.4186, allocations: 19.55 kB / 498 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.4186, allocations: 5.375 kB / 498 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.776e-05/0.4187, allocations: 7.906 kB / 498 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.4187, allocations: 1.688 kB / 498 MB, free: 15.55 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 8.558e-05/0.4188, allocations: 123.1 kB / 498.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.4188, allocations: 14 kB / 498.2 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.309e-05/0.4189, allocations: 16.62 kB / 498.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.4189, allocations: 1.688 kB / 498.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4189, allocations: 3.938 kB / 498.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4189, allocations: 4.703 kB / 498.2 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004387/0.4194, allocations: 390.7 kB / 498.6 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4194, allocations: 1.406 kB / 498.6 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.586e-05/0.4194, allocations: 8.281 kB / 498.6 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.4194, allocations: 2.141 kB / 498.6 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.4194, allocations: 2.203 kB / 498.6 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.4194, allocations: 5.406 kB / 498.6 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4194, allocations: 0 / 498.6 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.4197, allocations: 203.8 kB / 498.8 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.352e-05/0.4197, allocations: 86.66 kB / 498.9 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.4197, allocations: 1.281 kB / 498.9 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.365e-05/0.4198, allocations: 12.12 kB / 498.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.4199, allocations: 4.125 kB / 498.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.4199, allocations: 4.641 kB / 498.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.561e-05/0.42, allocations: 130.2 kB / 499 MB, free: 14.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.42, allocations: 3.938 kB / 499 MB, free: 14.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000274/0.4203, allocations: 26.34 kB / 499.1 MB, free: 14.67 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.001186/0.4215, allocations: 471.7 kB / 499.5 MB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.4217, allocations: 60.31 kB / 499.6 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4217, allocations: 0 / 499.6 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.615e-05/0.4218, allocations: 33.64 kB / 499.6 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.4221, allocations: 30.53 kB / 499.6 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004264/0.4226, allocations: 205.7 kB / 499.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/0.4228, allocations: 0.7008 MB / 0.4888 GB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.53e-05/0.4228, allocations: 12.94 kB / 0.4888 GB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.954e-05/0.4229, allocations: 16.73 kB / 0.4888 GB, free: 13.38 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4229, allocations: 3.938 kB / 0.4889 GB, free: 13.38 MB / 382.1 MB Notification: Performance of Templates: time 0.005294/0.4282, allocations: 1.68 MB / 0.4905 GB, free: 13.19 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1)